Interface GlobalTable.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalTable.Builder,GlobalTable>,SdkBuilder<GlobalTable.Builder,GlobalTable>,SdkPojo
- Enclosing class:
- GlobalTable
@Mutable @NotThreadSafe public static interface GlobalTable.Builder extends SdkPojo, CopyableBuilder<GlobalTable.Builder,GlobalTable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalTable.BuilderglobalTableName(String globalTableName)The global table name.GlobalTable.BuilderreplicationGroup(Collection<Replica> replicationGroup)The Regions where the global table has replicas.GlobalTable.BuilderreplicationGroup(Consumer<Replica.Builder>... replicationGroup)The Regions where the global table has replicas.GlobalTable.BuilderreplicationGroup(Replica... 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
-
globalTableName
GlobalTable.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.
-
replicationGroup
GlobalTable.Builder replicationGroup(Collection<Replica> 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
GlobalTable.Builder replicationGroup(Replica... 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
GlobalTable.Builder replicationGroup(Consumer<Replica.Builder>... 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 to#replicationGroup(List.) - 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:
#replicationGroup(java.util.Collection)
-
-