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
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 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.Builder
avoiding the need to create one manually viaTenantResource.builder()
.When the
Consumer
completes,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 theNextToken
parameter.- 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 theNextToken
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-