Interface ListTenantsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTenantsResponse.Builder,ListTenantsResponse>,SdkBuilder<ListTenantsResponse.Builder,ListTenantsResponse>,SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
- ListTenantsResponse
@Mutable @NotThreadSafe public static interface ListTenantsResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListTenantsResponse.Builder,ListTenantsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTenantsResponse.BuildernextToken(String nextToken)A token that indicates that there are additional tenants to list.ListTenantsResponse.Buildertenants(Collection<TenantInfo> tenants)An array that contains basic information about each tenant.ListTenantsResponse.Buildertenants(Consumer<TenantInfo.Builder>... tenants)An array that contains basic information about each tenant.ListTenantsResponse.Buildertenants(TenantInfo... tenants)An array that contains basic information about each tenant.-
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
-
tenants
ListTenantsResponse.Builder tenants(Collection<TenantInfo> tenants)
An array that contains basic information about each tenant.
- Parameters:
tenants- An array that contains basic information about each tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenants
ListTenantsResponse.Builder tenants(TenantInfo... tenants)
An array that contains basic information about each tenant.
- Parameters:
tenants- An array that contains basic information about each tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenants
ListTenantsResponse.Builder tenants(Consumer<TenantInfo.Builder>... tenants)
An array that contains basic information about each tenant.
This is a convenience method that creates an instance of theTenantInfo.Builderavoiding the need to create one manually viaTenantInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tenants(List.) - Parameters:
tenants- a consumer that will call methods onTenantInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tenants(java.util.Collection)
-
nextToken
ListTenantsResponse.Builder nextToken(String nextToken)
A token that indicates that there are additional tenants to list. To view additional tenants, issue another request to
ListTenants, 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 toListTenants, and pass this token in theNextTokenparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-