Interface ListResourceTenantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourceTenantsResponse.Builder,,ListResourceTenantsResponse> SdkBuilder<ListResourceTenantsResponse.Builder,,ListResourceTenantsResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
ListResourceTenantsResponse
@Mutable
@NotThreadSafe
public static interface ListResourceTenantsResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListResourceTenantsResponse.Builder,ListResourceTenantsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates that there are additional tenants to list.resourceTenants(Collection<ResourceTenantMetadata> resourceTenants) An array that contains information about each tenant associated with the resource.resourceTenants(Consumer<ResourceTenantMetadata.Builder>... resourceTenants) An array that contains information about each tenant associated with the resource.resourceTenants(ResourceTenantMetadata... resourceTenants) An array that contains information about each tenant associated with the resource.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
-
resourceTenants
ListResourceTenantsResponse.Builder resourceTenants(Collection<ResourceTenantMetadata> resourceTenants) An array that contains information about each tenant associated with the resource.
- Parameters:
resourceTenants- An array that contains information about each tenant associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTenants
An array that contains information about each tenant associated with the resource.
- Parameters:
resourceTenants- An array that contains information about each tenant associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTenants
ListResourceTenantsResponse.Builder resourceTenants(Consumer<ResourceTenantMetadata.Builder>... resourceTenants) An array that contains information about each tenant associated with the resource.
This is a convenience method that creates an instance of theResourceTenantMetadata.Builderavoiding the need to create one manually viaResourceTenantMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceTenants(List<ResourceTenantMetadata>).- Parameters:
resourceTenants- a consumer that will call methods onResourceTenantMetadata.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 tenants to list. To view additional tenants, issue another request to
ListResourceTenants, and pass this token in theNextTokenparameter.- Parameters:
nextToken- A token that indicates that there are additional tenants to list. To view additional tenants, issue another request toListResourceTenants, and pass this token in theNextTokenparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-