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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalTable.Builder
globalTableName(String globalTableName)
The global table name.GlobalTable.Builder
replicationGroup(Collection<Replica> replicationGroup)
The Regions where the global table has replicas.GlobalTable.Builder
replicationGroup(Consumer<Replica.Builder>... replicationGroup)
The Regions where the global table has replicas.GlobalTable.Builder
replicationGroup(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, 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.Builder
avoiding the need to create one manually viaReplica.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 onReplica.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#replicationGroup(java.util.Collection
)
-
-