Interface UpdateGlobalTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGlobalTableRequest.Builder,,UpdateGlobalTableRequest> DynamoDbRequest.Builder,SdkBuilder<UpdateGlobalTableRequest.Builder,,UpdateGlobalTableRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGlobalTableRequest
public static interface UpdateGlobalTableRequest.Builder
extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<UpdateGlobalTableRequest.Builder,UpdateGlobalTableRequest>
-
Method Summary
Modifier and TypeMethodDescriptionglobalTableName(String globalTableName) The global table name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicaUpdates(Collection<ReplicaUpdate> replicaUpdates) A list of Regions that should be added or removed from the global table.replicaUpdates(Consumer<ReplicaUpdate.Builder>... replicaUpdates) A list of Regions that should be added or removed from the global table.replicaUpdates(ReplicaUpdate... replicaUpdates) A list of Regions that should be added or removed from the global table.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
buildMethods 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.
-
replicaUpdates
A list of Regions that should be added or removed from the global table.
- Parameters:
replicaUpdates- A list of Regions that should be added or removed from the global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaUpdates
A list of Regions that should be added or removed from the global table.
- Parameters:
replicaUpdates- A list of Regions that should be added or removed from the global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaUpdates
A list of Regions that should be added or removed from the global table.
This is a convenience method that creates an instance of theReplicaUpdate.Builderavoiding the need to create one manually viaReplicaUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicaUpdates(List<ReplicaUpdate>).- Parameters:
replicaUpdates- a consumer that will call methods onReplicaUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateGlobalTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateGlobalTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-