@Generated(value="software.amazon.awssdk:codegen") public final class ManagedScalingPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedScalingPolicy.Builder,ManagedScalingPolicy>
Managed scaling policy for an Amazon EMR cluster. The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
ManagedScalingPolicy.Builder |
Modifier and Type | Method and Description |
---|---|
static ManagedScalingPolicy.Builder |
builder() |
ComputeLimits |
computeLimits()
The EC2 unit limits for a managed scaling policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ManagedScalingPolicy.Builder> |
serializableBuilderClass() |
ManagedScalingPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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.
public ManagedScalingPolicy.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ManagedScalingPolicy.Builder,ManagedScalingPolicy>
public static ManagedScalingPolicy.Builder builder()
public static Class<? extends ManagedScalingPolicy.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.