Interface GlobalTableDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GlobalTableDescription.Builder,
,GlobalTableDescription> SdkBuilder<GlobalTableDescription.Builder,
,GlobalTableDescription> SdkPojo
- Enclosing class:
GlobalTableDescription
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The creation time of the global table.globalTableArn
(String globalTableArn) The unique identifier of the global table.globalTableName
(String globalTableName) The global table name.globalTableStatus
(String globalTableStatus) The current state of the global table:globalTableStatus
(GlobalTableStatus globalTableStatus) The current state of the global table:replicationGroup
(Collection<ReplicaDescription> replicationGroup) The Regions where the global table has replicas.replicationGroup
(Consumer<ReplicaDescription.Builder>... replicationGroup) The Regions where the global table has replicas.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, sdkFields
-
Method Details
-
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
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 toreplicationGroup(List<ReplicaDescription>)
.- 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:
-
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
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
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
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:
-
-
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.
-