Interface GlobalSecondaryIndexAutoScalingUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalSecondaryIndexAutoScalingUpdate.Builder,,GlobalSecondaryIndexAutoScalingUpdate> SdkBuilder<GlobalSecondaryIndexAutoScalingUpdate.Builder,,GlobalSecondaryIndexAutoScalingUpdate> SdkPojo
- Enclosing class:
GlobalSecondaryIndexAutoScalingUpdate
@Mutable
@NotThreadSafe
public static interface GlobalSecondaryIndexAutoScalingUpdate.Builder
extends SdkPojo, CopyableBuilder<GlobalSecondaryIndexAutoScalingUpdate.Builder,GlobalSecondaryIndexAutoScalingUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the global secondary index.provisionedWriteCapacityAutoScalingUpdate(Consumer<AutoScalingSettingsUpdate.Builder> provisionedWriteCapacityAutoScalingUpdate) Sets the value of the ProvisionedWriteCapacityAutoScalingUpdate property for this object.provisionedWriteCapacityAutoScalingUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingUpdate) Sets the value of the ProvisionedWriteCapacityAutoScalingUpdate property for this object.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.
- Parameters:
indexName- The name of the global secondary index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedWriteCapacityAutoScalingUpdate
GlobalSecondaryIndexAutoScalingUpdate.Builder provisionedWriteCapacityAutoScalingUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingUpdate) Sets the value of the ProvisionedWriteCapacityAutoScalingUpdate property for this object.- Parameters:
provisionedWriteCapacityAutoScalingUpdate- The new value for the ProvisionedWriteCapacityAutoScalingUpdate property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedWriteCapacityAutoScalingUpdate
default GlobalSecondaryIndexAutoScalingUpdate.Builder provisionedWriteCapacityAutoScalingUpdate(Consumer<AutoScalingSettingsUpdate.Builder> provisionedWriteCapacityAutoScalingUpdate) Sets the value of the ProvisionedWriteCapacityAutoScalingUpdate property for this object. 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 toprovisionedWriteCapacityAutoScalingUpdate(AutoScalingSettingsUpdate).- Parameters:
provisionedWriteCapacityAutoScalingUpdate- 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:
-