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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateGlobalTableRequest.Builder
globalTableName(String globalTableName)
The global table name.UpdateGlobalTableRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateGlobalTableRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
build
-
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
UpdateGlobalTableRequest.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.
-
replicaUpdates
UpdateGlobalTableRequest.Builder replicaUpdates(Collection<ReplicaUpdate> 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
UpdateGlobalTableRequest.Builder replicaUpdates(ReplicaUpdate... 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
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 method that creates an instance of theReplicaUpdate.Builder
avoiding the need to create one manually viaReplicaUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#replicaUpdates(List
.) - 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:
#replicaUpdates(java.util.Collection
)
-
overrideConfiguration
UpdateGlobalTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGlobalTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-