Class ManagedScalingPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.ManagedScalingPolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedScalingPolicy.Builder,ManagedScalingPolicy>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManagedScalingPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedScalingPolicy.Builderbuilder()ComputeLimitscomputeLimits()The Amazon EC2 unit limits for a managed scaling policy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ManagedScalingPolicy.Builder>serializableBuilderClass()ManagedScalingPolicy.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
computeLimits
public final ComputeLimits 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:
- 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.
-
toBuilder
public ManagedScalingPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedScalingPolicy.Builder,ManagedScalingPolicy>
-
builder
public static ManagedScalingPolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedScalingPolicy.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-