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.Buildertenant(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaTenant.builder().When the
Consumercompletes,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:
-