Interface AutoScalingSettingsUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>,SdkBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>,SdkPojo
- Enclosing class:
- AutoScalingSettingsUpdate
@Mutable @NotThreadSafe public static interface AutoScalingSettingsUpdate.Builder extends SdkPojo, CopyableBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutoScalingSettingsUpdate.BuilderautoScalingDisabled(Boolean autoScalingDisabled)Disabled auto scaling for this global table or global secondary index.AutoScalingSettingsUpdate.BuilderautoScalingRoleArn(String autoScalingRoleArn)Role ARN used for configuring auto scaling policy.AutoScalingSettingsUpdate.BuildermaximumUnits(Long maximumUnits)The maximum capacity units that a global table or global secondary index should be scaled up to.AutoScalingSettingsUpdate.BuilderminimumUnits(Long minimumUnits)The minimum capacity units that a global table or global secondary index should be scaled down to.default AutoScalingSettingsUpdate.BuilderscalingPolicyUpdate(Consumer<AutoScalingPolicyUpdate.Builder> scalingPolicyUpdate)The scaling policy to apply for scaling target global table or global secondary index capacity units.AutoScalingSettingsUpdate.BuilderscalingPolicyUpdate(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
minimumUnits
AutoScalingSettingsUpdate.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
AutoScalingSettingsUpdate.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
AutoScalingSettingsUpdate.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
AutoScalingSettingsUpdate.Builder autoScalingRoleArn(String 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
AutoScalingSettingsUpdate.Builder scalingPolicyUpdate(AutoScalingPolicyUpdate 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.Builderavoiding the need to create one manually viaAutoScalingPolicyUpdate.builder().When the
Consumercompletes,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:
scalingPolicyUpdate(AutoScalingPolicyUpdate)
-
-