public static interface ManagedScalingPolicy.Builder extends SdkPojo, CopyableBuilder<ManagedScalingPolicy.Builder,ManagedScalingPolicy>
Modifier and Type | Method and Description |
---|---|
ManagedScalingPolicy.Builder |
computeLimits(ComputeLimits computeLimits)
The EC2 unit limits for a managed scaling policy.
|
default ManagedScalingPolicy.Builder |
computeLimits(Consumer<ComputeLimits.Builder> computeLimits)
The EC2 unit limits for a managed scaling policy.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ManagedScalingPolicy.Builder computeLimits(ComputeLimits computeLimits)
The 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.
computeLimits
- The 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.default ManagedScalingPolicy.Builder computeLimits(Consumer<ComputeLimits.Builder> computeLimits)
The 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 via ComputeLimits.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to computeLimits(ComputeLimits)
.
computeLimits
- a consumer that will call methods on ComputeLimits.Builder
computeLimits(ComputeLimits)
Copyright © 2023. All rights reserved.