Interface GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder,,GlobalTableGlobalSecondaryIndexSettingsUpdate> SdkBuilder<GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder,,GlobalTableGlobalSecondaryIndexSettingsUpdate> SdkPojo
- Enclosing class:
GlobalTableGlobalSecondaryIndexSettingsUpdate
public static interface GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder
extends SdkPojo, CopyableBuilder<GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder,GlobalTableGlobalSecondaryIndexSettingsUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the global secondary index.provisionedWriteCapacityAutoScalingSettingsUpdate(Consumer<AutoScalingSettingsUpdate.Builder> provisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index's write capacity units.provisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index's write capacity units.provisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
indexName
The name of the global secondary index. The name must be unique among all other indexes on this table.
- Parameters:
indexName- The name of the global secondary index. The name must be unique among all other indexes on this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedWriteCapacityUnits
GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder provisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.- Parameters:
provisionedWriteCapacityUnits- 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.
-
provisionedWriteCapacityAutoScalingSettingsUpdate
GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder provisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index's write capacity units.
- Parameters:
provisionedWriteCapacityAutoScalingSettingsUpdate- Auto scaling settings for managing a global secondary index's write capacity units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedWriteCapacityAutoScalingSettingsUpdate
default GlobalTableGlobalSecondaryIndexSettingsUpdate.Builder provisionedWriteCapacityAutoScalingSettingsUpdate(Consumer<AutoScalingSettingsUpdate.Builder> provisionedWriteCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index's write capacity units.
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 toprovisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate).- Parameters:
provisionedWriteCapacityAutoScalingSettingsUpdate- 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:
-