Interface UpdateGlobalTableSettingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGlobalTableSettingsRequest.Builder,UpdateGlobalTableSettingsRequest>,DynamoDbRequest.Builder,SdkBuilder<UpdateGlobalTableSettingsRequest.Builder,UpdateGlobalTableSettingsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateGlobalTableSettingsRequest
@Mutable @NotThreadSafe 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.BuilderglobalTableBillingMode(String globalTableBillingMode)The billing mode of the global table.UpdateGlobalTableSettingsRequest.BuilderglobalTableBillingMode(BillingMode globalTableBillingMode)The billing mode of the global table.UpdateGlobalTableSettingsRequest.BuilderglobalTableGlobalSecondaryIndexSettingsUpdate(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate)Represents the settings of a global secondary index for a global table that will be modified.UpdateGlobalTableSettingsRequest.BuilderglobalTableGlobalSecondaryIndexSettingsUpdate(Consumer<GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder>... globalTableGlobalSecondaryIndexSettingsUpdate)Represents the settings of a global secondary index for a global table that will be modified.UpdateGlobalTableSettingsRequest.BuilderglobalTableGlobalSecondaryIndexSettingsUpdate(GlobalTableGlobalSecondaryIndexSettingsUpdate... globalTableGlobalSecondaryIndexSettingsUpdate)Represents the settings of a global secondary index for a global table that will be modified.UpdateGlobalTableSettingsRequest.BuilderglobalTableName(String globalTableName)The name of the global tabledefault UpdateGlobalTableSettingsRequest.BuilderglobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(Consumer<AutoScalingSettingsUpdate.Builder> globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)Auto scaling settings for managing provisioned write capacity for the global table.UpdateGlobalTableSettingsRequest.BuilderglobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)Auto scaling settings for managing provisioned write capacity for the global table.UpdateGlobalTableSettingsRequest.BuilderglobalTableProvisionedWriteCapacityUnits(Long globalTableProvisionedWriteCapacityUnits)The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.UpdateGlobalTableSettingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateGlobalTableSettingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateGlobalTableSettingsRequest.BuilderreplicaSettingsUpdate(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate)Represents the settings for a global table in a Region that will be modified.UpdateGlobalTableSettingsRequest.BuilderreplicaSettingsUpdate(Consumer<ReplicaSettingsUpdate.Builder>... replicaSettingsUpdate)Represents the settings for a global table in a Region that will be modified.UpdateGlobalTableSettingsRequest.BuilderreplicaSettingsUpdate(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, sdkFieldNameToField, 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
GlobalTableBillingModeis not specified, the global table defaults toPROVISIONEDcapacity billing mode.-
PROVISIONED- We recommend usingPROVISIONEDfor predictable workloads.PROVISIONEDsets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST- We recommend usingPAY_PER_REQUESTfor unpredictable workloads.PAY_PER_REQUESTsets the billing mode to On-demand capacity mode.
- Parameters:
globalTableBillingMode- The billing mode of the global table. IfGlobalTableBillingModeis not specified, the global table defaults toPROVISIONEDcapacity billing mode.-
PROVISIONED- We recommend usingPROVISIONEDfor predictable workloads.PROVISIONEDsets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST- We recommend usingPAY_PER_REQUESTfor unpredictable workloads.PAY_PER_REQUESTsets 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:
BillingMode,BillingMode
-
-
globalTableBillingMode
UpdateGlobalTableSettingsRequest.Builder globalTableBillingMode(BillingMode globalTableBillingMode)
The billing mode of the global table. If
GlobalTableBillingModeis not specified, the global table defaults toPROVISIONEDcapacity billing mode.-
PROVISIONED- We recommend usingPROVISIONEDfor predictable workloads.PROVISIONEDsets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST- We recommend usingPAY_PER_REQUESTfor unpredictable workloads.PAY_PER_REQUESTsets the billing mode to On-demand capacity mode.
- Parameters:
globalTableBillingMode- The billing mode of the global table. IfGlobalTableBillingModeis not specified, the global table defaults toPROVISIONEDcapacity billing mode.-
PROVISIONED- We recommend usingPROVISIONEDfor predictable workloads.PROVISIONEDsets the billing mode to Provisioned capacity mode. -
PAY_PER_REQUEST- We recommend usingPAY_PER_REQUESTfor unpredictable workloads.PAY_PER_REQUESTsets 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:
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.Builderavoiding the need to create one manually viaAutoScalingSettingsUpdate.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaGlobalTableGlobalSecondaryIndexSettingsUpdate.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaReplicaSettingsUpdate.builder().When the
Consumercompletes,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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGlobalTableSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-