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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoScalingSettingsDescription.Builder
autoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.AutoScalingSettingsDescription.Builder
autoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring the auto scaling policy.AutoScalingSettingsDescription.Builder
maximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.AutoScalingSettingsDescription.Builder
minimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.AutoScalingSettingsDescription.Builder
scalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.AutoScalingSettingsDescription.Builder
scalingPolicies(Consumer<AutoScalingPolicyDescription.Builder>... scalingPolicies)
Information about the scaling policies.AutoScalingSettingsDescription.Builder
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, 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.Builder
avoiding the need to create one manually viaAutoScalingPolicyDescription.builder()
.When the
Consumer
completes,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
)
-
-