public static interface AutoScalingSettingsUpdate.Builder extends SdkPojo, CopyableBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>
| Modifier and Type | Method and Description |
|---|---|
AutoScalingSettingsUpdate.Builder |
autoScalingDisabled(Boolean autoScalingDisabled)
Disabled autoscaling for this global table or global secondary index.
|
AutoScalingSettingsUpdate.Builder |
autoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring autoscaling 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.
|
copyapplyMutation, buildAutoScalingSettingsUpdate.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 autoscaling for this global table or global secondary index.
autoScalingDisabled - Disabled autoscaling for this global table or global secondary index.AutoScalingSettingsUpdate.Builder autoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring autoscaling policy.
autoScalingRoleArn - Role ARN used for configuring autoscaling 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.BuilderscalingPolicyUpdate(AutoScalingPolicyUpdate)Copyright © 2019. All rights reserved.