Interface GlobalSecondaryIndexAutoScalingUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GlobalSecondaryIndexAutoScalingUpdate.Builder,
,GlobalSecondaryIndexAutoScalingUpdate> SdkBuilder<GlobalSecondaryIndexAutoScalingUpdate.Builder,
,GlobalSecondaryIndexAutoScalingUpdate> SdkPojo
- Enclosing class:
GlobalSecondaryIndexAutoScalingUpdate
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
copy
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
-
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.Builder
avoiding the need to create one manually viaAutoScalingSettingsUpdate.builder()
.When the
Consumer
completes,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:
-