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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetTenantResponse.Buildertenant(Consumer<Tenant.Builder> tenant)A structure that contains details about the tenant.GetTenantResponse.Buildertenant(Tenant 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 Detail
-
tenant
GetTenantResponse.Builder tenant(Tenant 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
default GetTenantResponse.Builder tenant(Consumer<Tenant.Builder> 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:
tenant(Tenant)
-
-