Interface UpdateGlobalTableSettingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateGlobalTableSettingsRequest.Builder,UpdateGlobalTableSettingsRequest>
,DynamoDbRequest.Builder
,SdkBuilder<UpdateGlobalTableSettingsRequest.Builder,UpdateGlobalTableSettingsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateGlobalTableSettingsRequest
public static interface UpdateGlobalTableSettingsRequest.Builder extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<UpdateGlobalTableSettingsRequest.Builder,UpdateGlobalTableSettingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateGlobalTableSettingsRequest.Builder
globalTableBillingMode(String globalTableBillingMode)
The billing mode of the global table.UpdateGlobalTableSettingsRequest.Builder
globalTableBillingMode(BillingMode globalTableBillingMode)
The billing mode of the global table.UpdateGlobalTableSettingsRequest.Builder
globalTableGlobalSecondaryIndexSettingsUpdate(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.UpdateGlobalTableSettingsRequest.Builder
globalTableGlobalSecondaryIndexSettingsUpdate(Consumer<GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder>... globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.UpdateGlobalTableSettingsRequest.Builder
globalTableGlobalSecondaryIndexSettingsUpdate(GlobalTableGlobalSecondaryIndexSettingsUpdate... globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.UpdateGlobalTableSettingsRequest.Builder
globalTableName(String globalTableName)
The name of the global tabledefault UpdateGlobalTableSettingsRequest.Builder
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(Consumer<AutoScalingSettingsUpdate.Builder> globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing provisioned write capacity for the global table.UpdateGlobalTableSettingsRequest.Builder
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing provisioned write capacity for the global table.UpdateGlobalTableSettingsRequest.Builder
globalTableProvisionedWriteCapacityUnits(Long globalTableProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.
UpdateGlobalTableSettingsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateGlobalTableSettingsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateGlobalTableSettingsRequest.Builder
replicaSettingsUpdate(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.UpdateGlobalTableSettingsRequest.Builder
replicaSettingsUpdate(Consumer<ReplicaSettingsUpdate.Builder>... replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.UpdateGlobalTableSettingsRequest.Builder
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 Detail
-
globalTableName
UpdateGlobalTableSettingsRequest.Builder globalTableName(String 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
UpdateGlobalTableSettingsRequest.Builder globalTableBillingMode(String 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 Mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-Demand 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 Mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMode
,BillingMode
-
-
globalTableBillingMode
UpdateGlobalTableSettingsRequest.Builder globalTableBillingMode(BillingMode 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 Mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-Demand 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 Mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillingMode
,BillingMode
-
-
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:
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate)
-
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 to#globalTableGlobalSecondaryIndexSettingsUpdate(List
.) - 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:
#globalTableGlobalSecondaryIndexSettingsUpdate(java.util.Collection< GlobalTableGlobalSecondaryIndexSettingsUpdate>)
-
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 to#replicaSettingsUpdate(List
.) - 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:
#replicaSettingsUpdate(java.util.Collection
)
-
overrideConfiguration
UpdateGlobalTableSettingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGlobalTableSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-