Interface GlobalTableDescription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<GlobalTableDescription.Builder,GlobalTableDescription>
,SdkBuilder<GlobalTableDescription.Builder,GlobalTableDescription>
,SdkPojo
- Enclosing class:
- GlobalTableDescription
public static interface GlobalTableDescription.Builder extends SdkPojo, CopyableBuilder<GlobalTableDescription.Builder,GlobalTableDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalTableDescription.Builder
creationDateTime(Instant creationDateTime)
The creation time of the global table.GlobalTableDescription.Builder
globalTableArn(String globalTableArn)
The unique identifier of the global table.GlobalTableDescription.Builder
globalTableName(String globalTableName)
The global table name.GlobalTableDescription.Builder
globalTableStatus(String globalTableStatus)
The current state of the global table:GlobalTableDescription.Builder
globalTableStatus(GlobalTableStatus globalTableStatus)
The current state of the global table:GlobalTableDescription.Builder
replicationGroup(Collection<ReplicaDescription> replicationGroup)
The Regions where the global table has replicas.GlobalTableDescription.Builder
replicationGroup(Consumer<ReplicaDescription.Builder>... replicationGroup)
The Regions where the global table has replicas.GlobalTableDescription.Builder
replicationGroup(ReplicaDescription... replicationGroup)
The Regions where the global table has replicas.-
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
-
replicationGroup
GlobalTableDescription.Builder replicationGroup(Collection<ReplicaDescription> replicationGroup)
The Regions where the global table has replicas.
- Parameters:
replicationGroup
- The Regions where the global table has replicas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroup
GlobalTableDescription.Builder replicationGroup(ReplicaDescription... replicationGroup)
The Regions where the global table has replicas.
- Parameters:
replicationGroup
- The Regions where the global table has replicas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationGroup
GlobalTableDescription.Builder replicationGroup(Consumer<ReplicaDescription.Builder>... replicationGroup)
The Regions where the global table has replicas.
This is a convenience method that creates an instance of theReplicaDescription.Builder
avoiding the need to create one manually viaReplicaDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#replicationGroup(List
.) - Parameters:
replicationGroup
- a consumer that will call methods onReplicaDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#replicationGroup(java.util.Collection
)
-
globalTableArn
GlobalTableDescription.Builder globalTableArn(String globalTableArn)
The unique identifier of the global table.
- Parameters:
globalTableArn
- The unique identifier of the global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
GlobalTableDescription.Builder creationDateTime(Instant creationDateTime)
The creation time of the global table.
- Parameters:
creationDateTime
- The creation time of the global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalTableStatus
GlobalTableDescription.Builder globalTableStatus(String globalTableStatus)
The current state of the global table:
-
CREATING
- The global table is being created. -
UPDATING
- The global table is being updated. -
DELETING
- The global table is being deleted. -
ACTIVE
- The global table is ready for use.
- Parameters:
globalTableStatus
- The current state of the global table:-
CREATING
- The global table is being created. -
UPDATING
- The global table is being updated. -
DELETING
- The global table is being deleted. -
ACTIVE
- The global table is ready for use.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GlobalTableStatus
,GlobalTableStatus
-
-
globalTableStatus
GlobalTableDescription.Builder globalTableStatus(GlobalTableStatus globalTableStatus)
The current state of the global table:
-
CREATING
- The global table is being created. -
UPDATING
- The global table is being updated. -
DELETING
- The global table is being deleted. -
ACTIVE
- The global table is ready for use.
- Parameters:
globalTableStatus
- The current state of the global table:-
CREATING
- The global table is being created. -
UPDATING
- The global table is being updated. -
DELETING
- The global table is being deleted. -
ACTIVE
- The global table is ready for use.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GlobalTableStatus
,GlobalTableStatus
-
-
globalTableName
GlobalTableDescription.Builder globalTableName(String globalTableName)
The global table name.
- Parameters:
globalTableName
- The global table name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-