Interface AutoScalingSettingsUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoScalingSettingsUpdate.Builder,
,AutoScalingSettingsUpdate> SdkBuilder<AutoScalingSettingsUpdate.Builder,
,AutoScalingSettingsUpdate> SdkPojo
- Enclosing class:
AutoScalingSettingsUpdate
public static interface AutoScalingSettingsUpdate.Builder
extends SdkPojo, CopyableBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingDisabled
(Boolean autoScalingDisabled) Disabled auto scaling for this global table or global secondary index.autoScalingRoleArn
(String autoScalingRoleArn) Role ARN used for configuring auto scaling policy.maximumUnits
(Long maximumUnits) The maximum capacity units that a global table or global secondary index should be scaled up to.minimumUnits
(Long minimumUnits) The minimum capacity units that a global table or global secondary index should be scaled down to.scalingPolicyUpdate
(Consumer<AutoScalingPolicyUpdate.Builder> scalingPolicyUpdate) The scaling policy to apply for scaling target global table or global secondary index capacity units.scalingPolicyUpdate
(AutoScalingPolicyUpdate scalingPolicyUpdate) The scaling policy to apply for scaling target global table or global secondary index capacity units.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
-
minimumUnits
The minimum capacity units that a global table or global secondary index should be scaled down to.
- Parameters:
minimumUnits
- The minimum capacity units that a global table or global secondary index should be scaled down to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumUnits
The maximum capacity units that a global table or global secondary index should be scaled up to.
- Parameters:
maximumUnits
- The maximum capacity units that a global table or global secondary index should be scaled up to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingDisabled
Disabled auto scaling for this global table or global secondary index.
- Parameters:
autoScalingDisabled
- Disabled auto scaling for this global table or global secondary index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingRoleArn
Role ARN used for configuring auto scaling policy.
- Parameters:
autoScalingRoleArn
- Role ARN used for configuring auto scaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicyUpdate
The scaling policy to apply for scaling target global table or global secondary index capacity units.
- Parameters:
scalingPolicyUpdate
- The scaling policy to apply for scaling target global table or global secondary index capacity units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicyUpdate
default AutoScalingSettingsUpdate.Builder scalingPolicyUpdate(Consumer<AutoScalingPolicyUpdate.Builder> scalingPolicyUpdate) The scaling policy to apply for scaling target global table or global secondary index capacity units.
This is a convenience method that creates an instance of theAutoScalingPolicyUpdate.Builder
avoiding the need to create one manually viaAutoScalingPolicyUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscalingPolicyUpdate(AutoScalingPolicyUpdate)
.- Parameters:
scalingPolicyUpdate
- a consumer that will call methods onAutoScalingPolicyUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-