Interface UpdateGlobalTableSettingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateGlobalTableSettingsRequest.Builder,
,UpdateGlobalTableSettingsRequest> DynamoDbRequest.Builder
,SdkBuilder<UpdateGlobalTableSettingsRequest.Builder,
,UpdateGlobalTableSettingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateGlobalTableSettingsRequest
-
Method Summary
Modifier and TypeMethodDescriptionglobalTableBillingMode
(String globalTableBillingMode) The billing mode of the global table.globalTableBillingMode
(BillingMode globalTableBillingMode) The billing mode of the global table.globalTableGlobalSecondaryIndexSettingsUpdate
(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate) Represents the settings of a global secondary index for a global table that will be modified.globalTableGlobalSecondaryIndexSettingsUpdate
(Consumer<GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder>... globalTableGlobalSecondaryIndexSettingsUpdate) Represents the settings of a global secondary index for a global table that will be modified.globalTableGlobalSecondaryIndexSettingsUpdate
(GlobalTableGlobalSecondaryIndexSettingsUpdate... globalTableGlobalSecondaryIndexSettingsUpdate) Represents the settings of a global secondary index for a global table that will be modified.globalTableName
(String globalTableName) The name of the global tableglobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
(Consumer<AutoScalingSettingsUpdate.Builder> globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing provisioned write capacity for the global table.globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing provisioned write capacity for the global table.globalTableProvisionedWriteCapacityUnits
(Long globalTableProvisionedWriteCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.
overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replicaSettingsUpdate
(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate) Represents the settings for a global table in a Region that will be modified.replicaSettingsUpdate
(Consumer<ReplicaSettingsUpdate.Builder>... replicaSettingsUpdate) Represents the settings for a global table in a Region that will be modified.replicaSettingsUpdate
(ReplicaSettingsUpdate... replicaSettingsUpdate) Represents the settings for a global table in a Region that will be modified.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 Details
-
globalTableName
The name of the global table
- Parameters:
globalTableName
- The name of the global table- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalTableBillingMode
The billing mode of the global table. If
GlobalTableBillingMode
is not specified, the global table defaults toPROVISIONED
capacity billing mode.-
PROVISIONED
- We recommend usingPROVISIONED
for predictable workloads.PROVISIONED
sets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
- Parameters:
globalTableBillingMode
- The billing mode of the global table. IfGlobalTableBillingMode
is not specified, the global table defaults toPROVISIONED
capacity billing mode.-
PROVISIONED
- We recommend usingPROVISIONED
for predictable workloads.PROVISIONED
sets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
globalTableBillingMode
The billing mode of the global table. If
GlobalTableBillingMode
is not specified, the global table defaults toPROVISIONED
capacity billing mode.-
PROVISIONED
- We recommend usingPROVISIONED
for predictable workloads.PROVISIONED
sets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
- Parameters:
globalTableBillingMode
- The billing mode of the global table. IfGlobalTableBillingMode
is not specified, the global table defaults toPROVISIONED
capacity billing mode.-
PROVISIONED
- We recommend usingPROVISIONED
for predictable workloads.PROVISIONED
sets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
globalTableProvisionedWriteCapacityUnits
UpdateGlobalTableSettingsRequest.Builder globalTableProvisionedWriteCapacityUnits(Long globalTableProvisionedWriteCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.
- Parameters:
globalTableProvisionedWriteCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
UpdateGlobalTableSettingsRequest.Builder globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing provisioned write capacity for the global table.
- Parameters:
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
- Auto scaling settings for managing provisioned write capacity for the global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
default UpdateGlobalTableSettingsRequest.Builder globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(Consumer<AutoScalingSettingsUpdate.Builder> globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing provisioned write capacity for the global table.
This is a convenience method that creates an instance of theAutoScalingSettingsUpdate.Builder
avoiding the need to create one manually viaAutoScalingSettingsUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate)
.- Parameters:
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
- a consumer that will call methods onAutoScalingSettingsUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
globalTableGlobalSecondaryIndexSettingsUpdate
UpdateGlobalTableSettingsRequest.Builder globalTableGlobalSecondaryIndexSettingsUpdate(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate) Represents the settings of a global secondary index for a global table that will be modified.
- Parameters:
globalTableGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalTableGlobalSecondaryIndexSettingsUpdate
UpdateGlobalTableSettingsRequest.Builder globalTableGlobalSecondaryIndexSettingsUpdate(GlobalTableGlobalSecondaryIndexSettingsUpdate... globalTableGlobalSecondaryIndexSettingsUpdate) Represents the settings of a global secondary index for a global table that will be modified.
- Parameters:
globalTableGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalTableGlobalSecondaryIndexSettingsUpdate
UpdateGlobalTableSettingsRequest.Builder globalTableGlobalSecondaryIndexSettingsUpdate(Consumer<GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder>... globalTableGlobalSecondaryIndexSettingsUpdate) Represents the settings of a global secondary index for a global table that will be modified.
This is a convenience method that creates an instance of theGlobalTableGlobalSecondaryIndexSettingsUpdate.Builder
avoiding the need to create one manually viaGlobalTableGlobalSecondaryIndexSettingsUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalTableGlobalSecondaryIndexSettingsUpdate(List<GlobalTableGlobalSecondaryIndexSettingsUpdate>)
.- Parameters:
globalTableGlobalSecondaryIndexSettingsUpdate
- a consumer that will call methods onGlobalTableGlobalSecondaryIndexSettingsUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaSettingsUpdate
UpdateGlobalTableSettingsRequest.Builder replicaSettingsUpdate(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate) Represents the settings for a global table in a Region that will be modified.
- Parameters:
replicaSettingsUpdate
- Represents the settings for a global table in a Region that will be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaSettingsUpdate
UpdateGlobalTableSettingsRequest.Builder replicaSettingsUpdate(ReplicaSettingsUpdate... replicaSettingsUpdate) Represents the settings for a global table in a Region that will be modified.
- Parameters:
replicaSettingsUpdate
- Represents the settings for a global table in a Region that will be modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaSettingsUpdate
UpdateGlobalTableSettingsRequest.Builder replicaSettingsUpdate(Consumer<ReplicaSettingsUpdate.Builder>... replicaSettingsUpdate) Represents the settings for a global table in a Region that will be modified.
This is a convenience method that creates an instance of theReplicaSettingsUpdate.Builder
avoiding the need to create one manually viaReplicaSettingsUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicaSettingsUpdate(List<ReplicaSettingsUpdate>)
.- Parameters:
replicaSettingsUpdate
- a consumer that will call methods onReplicaSettingsUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateGlobalTableSettingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateGlobalTableSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-