public static interface GlobalTable.Builder extends SdkPojo, CopyableBuilder<GlobalTable.Builder,GlobalTable>
Modifier and Type | Method and 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.
|
copy
applyMutation, build
GlobalTable.Builder globalTableName(String globalTableName)
The global table name.
globalTableName
- The global table name.GlobalTable.Builder replicationGroup(Collection<Replica> replicationGroup)
The regions where the global table has replicas.
replicationGroup
- The regions where the global table has replicas.GlobalTable.Builder replicationGroup(Replica... replicationGroup)
The regions where the global table has replicas.
replicationGroup
- The regions where the global table has replicas.GlobalTable.Builder replicationGroup(Consumer<Replica.Builder>... replicationGroup)
The regions where the global table has replicas.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #replicationGroup(List)
.replicationGroup
- a consumer that will call methods on List.Builder
#replicationGroup(List)
Copyright © 2019. All rights reserved.