public static interface UpdateGlobalTableRequest.Builder extends DynamoDbRequest.Builder, CopyableBuilder<UpdateGlobalTableRequest.Builder,UpdateGlobalTableRequest>
Modifier and Type | Method and Description |
---|---|
UpdateGlobalTableRequest.Builder |
globalTableName(String globalTableName)
The global table name.
|
UpdateGlobalTableRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateGlobalTableRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateGlobalTableRequest.Builder |
replicaUpdates(Collection<ReplicaUpdate> replicaUpdates)
A list of regions that should be added or removed from the global table.
|
UpdateGlobalTableRequest.Builder |
replicaUpdates(Consumer<ReplicaUpdate.Builder>... replicaUpdates)
A list of regions that should be added or removed from the global table.
|
UpdateGlobalTableRequest.Builder |
replicaUpdates(ReplicaUpdate... replicaUpdates)
A list of regions that should be added or removed from the global table.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateGlobalTableRequest.Builder globalTableName(String globalTableName)
The global table name.
globalTableName
- The global table name.UpdateGlobalTableRequest.Builder replicaUpdates(Collection<ReplicaUpdate> replicaUpdates)
A list of regions that should be added or removed from the global table.
replicaUpdates
- A list of regions that should be added or removed from the global table.UpdateGlobalTableRequest.Builder replicaUpdates(ReplicaUpdate... replicaUpdates)
A list of regions that should be added or removed from the global table.
replicaUpdates
- A list of regions that should be added or removed from the global table.UpdateGlobalTableRequest.Builder replicaUpdates(Consumer<ReplicaUpdate.Builder>... replicaUpdates)
A list of regions that should be added or removed from the global table.
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 #replicaUpdates(List)
.replicaUpdates
- a consumer that will call methods on List.Builder
#replicaUpdates(List)
UpdateGlobalTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateGlobalTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.