Interface ManagedScalingPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ManagedScalingPolicy.Builder,
,ManagedScalingPolicy> SdkBuilder<ManagedScalingPolicy.Builder,
,ManagedScalingPolicy> SdkPojo
- Enclosing class:
ManagedScalingPolicy
-
Method Summary
Modifier and TypeMethodDescriptiondefault ManagedScalingPolicy.Builder
computeLimits
(Consumer<ComputeLimits.Builder> computeLimits) The Amazon EC2 unit limits for a managed scaling policy.computeLimits
(ComputeLimits computeLimits) The Amazon EC2 unit limits for a managed scaling policy.scalingStrategy
(String scalingStrategy) Determines whether a custom scaling utilization performance index can be set.scalingStrategy
(ScalingStrategy scalingStrategy) Determines whether a custom scaling utilization performance index can be set.utilizationPerformanceIndex
(Integer utilizationPerformanceIndex) An integer value that represents an advanced scaling strategy.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 Details
-
computeLimits
The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
- Parameters:
computeLimits
- The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeLimits
The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
This is a convenience method that creates an instance of theComputeLimits.Builder
avoiding the need to create one manually viaComputeLimits.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeLimits(ComputeLimits)
.- Parameters:
computeLimits
- a consumer that will call methods onComputeLimits.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
utilizationPerformanceIndex
An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.
- Parameters:
utilizationPerformanceIndex
- An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingStrategy
Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.
- Parameters:
scalingStrategy
- Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scalingStrategy
Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.
- Parameters:
scalingStrategy
- Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-