public static interface AutoScalingSettingsUpdate.Builder extends SdkPojo, CopyableBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>
Modifier and Type | Method and Description |
---|---|
AutoScalingSettingsUpdate.Builder |
autoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.
|
AutoScalingSettingsUpdate.Builder |
autoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring auto scaling policy.
|
AutoScalingSettingsUpdate.Builder |
maximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
|
AutoScalingSettingsUpdate.Builder |
minimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
|
AutoScalingSettingsUpdate.Builder |
scalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
|
default AutoScalingSettingsUpdate.Builder |
scalingPolicyUpdate(Consumer<AutoScalingPolicyUpdate.Builder> scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AutoScalingSettingsUpdate.Builder minimumUnits(Long minimumUnits)
The minimum capacity units that a global table or global secondary index should be scaled down to.
minimumUnits
- The minimum capacity units that a global table or global secondary index should be scaled down to.AutoScalingSettingsUpdate.Builder maximumUnits(Long maximumUnits)
The maximum capacity units that a global table or global secondary index should be scaled up to.
maximumUnits
- The maximum capacity units that a global table or global secondary index should be scaled up to.AutoScalingSettingsUpdate.Builder autoScalingDisabled(Boolean autoScalingDisabled)
Disabled auto scaling for this global table or global secondary index.
autoScalingDisabled
- Disabled auto scaling for this global table or global secondary index.AutoScalingSettingsUpdate.Builder autoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring auto scaling policy.
autoScalingRoleArn
- Role ARN used for configuring auto scaling policy.AutoScalingSettingsUpdate.Builder scalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)
The scaling policy to apply for scaling target global table or global secondary index capacity units.
scalingPolicyUpdate
- The scaling policy to apply for scaling target global table or global secondary index capacity units.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 that creates an instance of theAutoScalingPolicyUpdate.Builder
avoiding the
need to create one manually via AutoScalingPolicyUpdate.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to scalingPolicyUpdate(AutoScalingPolicyUpdate)
.scalingPolicyUpdate
- a consumer that will call methods on AutoScalingPolicyUpdate.Builder
scalingPolicyUpdate(AutoScalingPolicyUpdate)
Copyright © 2021. All rights reserved.