Interface AutoScalingSettingsDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoScalingSettingsDescription.Builder,AutoScalingSettingsDescription>,SdkBuilder<AutoScalingSettingsDescription.Builder,AutoScalingSettingsDescription>,SdkPojo
- Enclosing class:
- AutoScalingSettingsDescription
@Mutable @NotThreadSafe public static interface AutoScalingSettingsDescription.Builder extends SdkPojo, CopyableBuilder<AutoScalingSettingsDescription.Builder,AutoScalingSettingsDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoScalingSettingsDescription.BuilderautoScalingDisabled(Boolean autoScalingDisabled)Disabled auto scaling for this global table or global secondary index.AutoScalingSettingsDescription.BuilderautoScalingRoleArn(String autoScalingRoleArn)Role ARN used for configuring the auto scaling policy.AutoScalingSettingsDescription.BuildermaximumUnits(Long maximumUnits)The maximum capacity units that a global table or global secondary index should be scaled up to.AutoScalingSettingsDescription.BuilderminimumUnits(Long minimumUnits)The minimum capacity units that a global table or global secondary index should be scaled down to.AutoScalingSettingsDescription.BuilderscalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)Information about the scaling policies.AutoScalingSettingsDescription.BuilderscalingPolicies(Consumer<AutoScalingPolicyDescription.Builder>... scalingPolicies)Information about the scaling policies.AutoScalingSettingsDescription.BuilderscalingPolicies(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
minimumUnits
AutoScalingSettingsDescription.Builder minimumUnits(Long 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
AutoScalingSettingsDescription.Builder maximumUnits(Long 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
AutoScalingSettingsDescription.Builder autoScalingDisabled(Boolean 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
AutoScalingSettingsDescription.Builder autoScalingRoleArn(String 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.Builderavoiding the need to create one manually viaAutoScalingPolicyDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scalingPolicies(List.) - 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:
#scalingPolicies(java.util.Collection)
-
-