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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResourceTenantsResponse.BuildernextToken(String nextToken)A token that indicates that there are additional tenants to list.ListResourceTenantsResponse.BuilderresourceTenants(Collection<ResourceTenantMetadata> resourceTenants)An array that contains information about each tenant associated with the resource.ListResourceTenantsResponse.BuilderresourceTenants(Consumer<ResourceTenantMetadata.Builder>... resourceTenants)An array that contains information about each tenant associated with the resource.ListResourceTenantsResponse.BuilderresourceTenants(ResourceTenantMetadata... resourceTenants)An array that contains information about each tenant associated with the resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
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
ListResourceTenantsResponse.Builder resourceTenants(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
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 to#resourceTenants(List.) - 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:
#resourceTenants(java.util.Collection)
-
nextToken
ListResourceTenantsResponse.Builder nextToken(String 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.
-
-