Interface GlobalTableDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalTableDescription.Builder,GlobalTableDescription>,SdkBuilder<GlobalTableDescription.Builder,GlobalTableDescription>,SdkPojo
- Enclosing class:
- GlobalTableDescription
@Mutable @NotThreadSafe 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.BuildercreationDateTime(Instant creationDateTime)The creation time of the global table.GlobalTableDescription.BuilderglobalTableArn(String globalTableArn)The unique identifier of the global table.GlobalTableDescription.BuilderglobalTableName(String globalTableName)The global table name.GlobalTableDescription.BuilderglobalTableStatus(String globalTableStatus)The current state of the global table:GlobalTableDescription.BuilderglobalTableStatus(GlobalTableStatus globalTableStatus)The current state of the global table:GlobalTableDescription.BuilderreplicationGroup(Collection<ReplicaDescription> replicationGroup)The Regions where the global table has replicas.GlobalTableDescription.BuilderreplicationGroup(Consumer<ReplicaDescription.Builder>... replicationGroup)The Regions where the global table has replicas.GlobalTableDescription.BuilderreplicationGroup(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.Builderavoiding the need to create one manually viaReplicaDescription.builder().When the
Consumercompletes,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.
-
-