Interface GlobalTable.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalTable.Builder,,GlobalTable> SdkBuilder<GlobalTable.Builder,,GlobalTable> SdkPojo
- Enclosing class:
GlobalTable
public static interface GlobalTable.Builder
extends SdkPojo, CopyableBuilder<GlobalTable.Builder,GlobalTable>
-
Method Summary
Modifier and TypeMethodDescriptionglobalTableName(String globalTableName) The global table name.replicationGroup(Collection<Replica> replicationGroup) The Regions where the global table has replicas.replicationGroup(Consumer<Replica.Builder>... replicationGroup) The Regions where the global table has replicas.replicationGroup(Replica... replicationGroup) The Regions where the global table has replicas.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
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
The Regions where the global table has replicas.
This is a convenience method that creates an instance of theReplica.Builderavoiding the need to create one manually viaReplica.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationGroup(List<Replica>).- Parameters:
replicationGroup- a consumer that will call methods onReplica.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-