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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTenantResourcesResponse.BuildernextToken(String nextToken)A token that indicates that there are additional resources to list.ListTenantResourcesResponse.BuildertenantResources(Collection<TenantResource> tenantResources)An array that contains information about each resource associated with the tenant.ListTenantResourcesResponse.BuildertenantResources(Consumer<TenantResource.Builder>... tenantResources)An array that contains information about each resource associated with the tenant.ListTenantResourcesResponse.BuildertenantResources(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 Detail
-
tenantResources
ListTenantResourcesResponse.Builder tenantResources(Collection<TenantResource> 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(TenantResource... 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 to#tenantResources(List.) - 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:
#tenantResources(java.util.Collection)
-
nextToken
ListTenantResourcesResponse.Builder nextToken(String 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.
-
-