Interface Tenant.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Tenant.Builder,Tenant>,SdkBuilder<Tenant.Builder,Tenant>,SdkPojo
- Enclosing class:
- Tenant
@Mutable @NotThreadSafe public static interface Tenant.Builder extends SdkPojo, CopyableBuilder<Tenant.Builder,Tenant>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tenant.BuildercreatedTimestamp(Instant createdTimestamp)The date and time when the tenant was created.Tenant.BuildersendingStatus(String sendingStatus)The status of sending capability for the tenant.Tenant.BuildersendingStatus(SendingStatus sendingStatus)The status of sending capability for the tenant.Tenant.Buildertags(Collection<Tag> tags)An array of objects that define the tags (keys and values) associated with the tenant.Tenant.Buildertags(Consumer<Tag.Builder>... tags)An array of objects that define the tags (keys and values) associated with the tenant.Tenant.Buildertags(Tag... tags)An array of objects that define the tags (keys and values) associated with the tenant.Tenant.BuildertenantArn(String tenantArn)The Amazon Resource Name (ARN) of the tenant.Tenant.BuildertenantId(String tenantId)A unique identifier for the tenant.Tenant.BuildertenantName(String tenantName)The name of 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
-
-
-
-
Method Detail
-
tenantName
Tenant.Builder tenantName(String tenantName)
The name of the tenant.
- Parameters:
tenantName- The name of the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenantId
Tenant.Builder tenantId(String tenantId)
A unique identifier for the tenant.
- Parameters:
tenantId- A unique identifier for the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tenantArn
Tenant.Builder tenantArn(String tenantArn)
The Amazon Resource Name (ARN) of the tenant.
- Parameters:
tenantArn- The Amazon Resource Name (ARN) of the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
Tenant.Builder createdTimestamp(Instant createdTimestamp)
The date and time when the tenant was created.
- Parameters:
createdTimestamp- The date and time when the tenant was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tenant.Builder tags(Collection<Tag> tags)
An array of objects that define the tags (keys and values) associated with the tenant.
- Parameters:
tags- An array of objects that define the tags (keys and values) associated with the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tenant.Builder tags(Tag... tags)
An array of objects that define the tags (keys and values) associated with the tenant.
- Parameters:
tags- An array of objects that define the tags (keys and values) associated with the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tenant.Builder tags(Consumer<Tag.Builder>... tags)
An array of objects that define the tags (keys and values) associated with the tenant.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
sendingStatus
Tenant.Builder sendingStatus(String sendingStatus)
The status of sending capability for the tenant.
- Parameters:
sendingStatus- The status of sending capability for the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SendingStatus,SendingStatus
-
sendingStatus
Tenant.Builder sendingStatus(SendingStatus sendingStatus)
The status of sending capability for the tenant.
- Parameters:
sendingStatus- The status of sending capability for the tenant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SendingStatus,SendingStatus
-
-