Interface AutoScalingSettingsDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoScalingSettingsDescription.Builder,
,AutoScalingSettingsDescription> SdkBuilder<AutoScalingSettingsDescription.Builder,
,AutoScalingSettingsDescription> SdkPojo
- Enclosing class:
AutoScalingSettingsDescription
public static interface AutoScalingSettingsDescription.Builder
extends SdkPojo, CopyableBuilder<AutoScalingSettingsDescription.Builder,AutoScalingSettingsDescription>
-
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 the 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.scalingPolicies
(Collection<AutoScalingPolicyDescription> scalingPolicies) Information about the scaling policies.scalingPolicies
(Consumer<AutoScalingPolicyDescription.Builder>... scalingPolicies) Information about the scaling policies.scalingPolicies
(AutoScalingPolicyDescription... scalingPolicies) Information about the scaling policies.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 the auto scaling policy.
- Parameters:
autoScalingRoleArn
- Role ARN used for configuring the auto scaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
AutoScalingSettingsDescription.Builder scalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies) Information about the scaling policies.
- Parameters:
scalingPolicies
- Information about the scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
AutoScalingSettingsDescription.Builder scalingPolicies(AutoScalingPolicyDescription... scalingPolicies) Information about the scaling policies.
- Parameters:
scalingPolicies
- Information about the scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
AutoScalingSettingsDescription.Builder scalingPolicies(Consumer<AutoScalingPolicyDescription.Builder>... scalingPolicies) Information about the scaling policies.
This is a convenience method that creates an instance of theAutoScalingPolicyDescription.Builder
avoiding the need to create one manually viaAutoScalingPolicyDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscalingPolicies(List<AutoScalingPolicyDescription>)
.- Parameters:
scalingPolicies
- a consumer that will call methods onAutoScalingPolicyDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-