Interface ListTenantResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTenantResourcesResponse.Builder,,ListTenantResourcesResponse> SdkBuilder<ListTenantResourcesResponse.Builder,,ListTenantResourcesResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
ListTenantResourcesResponse
@Mutable
@NotThreadSafe
public static interface ListTenantResourcesResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListTenantResourcesResponse.Builder,ListTenantResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates that there are additional resources to list.tenantResources(Collection<TenantResource> tenantResources) An array that contains information about each resource associated with the tenant.tenantResources(Consumer<TenantResource.Builder>... tenantResources) An array that contains information about each resource associated with the tenant.tenantResources(TenantResource... tenantResources) An array that contains information about each resource associated with the tenant.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
tenantResources
An array that contains information about each resource associated with the tenant.
- Parameters:
tenantResources- An array that contains information about each resource associated with the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenantResources
An array that contains information about each resource associated with the tenant.
- Parameters:
tenantResources- An array that contains information about each resource associated with the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenantResources
ListTenantResourcesResponse.Builder tenantResources(Consumer<TenantResource.Builder>... tenantResources) An array that contains information about each resource associated with the tenant.
This is a convenience method that creates an instance of theTenantResource.Builderavoiding the need to create one manually viaTenantResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totenantResources(List<TenantResource>).- Parameters:
tenantResources- a consumer that will call methods onTenantResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates that there are additional resources to list. To view additional resources, issue another request to
ListTenantResources, and pass this token in theNextTokenparameter.- Parameters:
nextToken- A token that indicates that there are additional resources to list. To view additional resources, issue another request toListTenantResources, and pass this token in theNextTokenparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-