Interface GetTenantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetTenantResponse.Builder,
,GetTenantResponse> SdkBuilder<GetTenantResponse.Builder,
,GetTenantResponse> SdkPojo
,SdkResponse.Builder
,SesV2Response.Builder
- Enclosing class:
GetTenantResponse
@Mutable
@NotThreadSafe
public static interface GetTenantResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<GetTenantResponse.Builder,GetTenantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetTenantResponse.Builder
tenant
(Consumer<Tenant.Builder> tenant) A structure that contains details about the tenant.A structure that contains details about 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
-
tenant
A structure that contains details about the tenant.
- Parameters:
tenant
- A structure that contains details about the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenant
A structure that contains details about the tenant.
This is a convenience method that creates an instance of theTenant.Builder
avoiding the need to create one manually viaTenant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totenant(Tenant)
.- Parameters:
tenant
- a consumer that will call methods onTenant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-