public static interface AutoScalingSettingsDescription.Builder extends SdkPojo, CopyableBuilder<AutoScalingSettingsDescription.Builder,AutoScalingSettingsDescription>
Modifier and Type | Method and 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(AutoScalingPolicyDescription... scalingPolicies)
Information about the scaling policies.
|
AutoScalingSettingsDescription.Builder |
scalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
|
AutoScalingSettingsDescription.Builder |
scalingPolicies(Consumer<AutoScalingPolicyDescription.Builder>... scalingPolicies)
Information about the scaling policies.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AutoScalingSettingsDescription.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.AutoScalingSettingsDescription.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.AutoScalingSettingsDescription.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.AutoScalingSettingsDescription.Builder autoScalingRoleArn(String autoScalingRoleArn)
Role ARN used for configuring the auto scaling policy.
autoScalingRoleArn
- Role ARN used for configuring the auto scaling policy.AutoScalingSettingsDescription.Builder scalingPolicies(Collection<AutoScalingPolicyDescription> scalingPolicies)
Information about the scaling policies.
scalingPolicies
- Information about the scaling policies.AutoScalingSettingsDescription.Builder scalingPolicies(AutoScalingPolicyDescription... scalingPolicies)
Information about the scaling policies.
scalingPolicies
- Information about the scaling policies.AutoScalingSettingsDescription.Builder scalingPolicies(Consumer<AutoScalingPolicyDescription.Builder>... scalingPolicies)
Information about the scaling policies.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #scalingPolicies(List)
.scalingPolicies
- a consumer that will call methods on List.Builder
#scalingPolicies(List)
Copyright © 2020. All rights reserved.