@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedScalingPolicy extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ManagedScalingPolicy() |
Modifier and Type | Method and Description |
---|---|
ManagedScalingPolicy |
clone() |
boolean |
equals(Object obj) |
ComputeLimits |
getComputeLimits()
The Amazon EC2 unit limits for a managed scaling policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComputeLimits(ComputeLimits computeLimits)
The Amazon EC2 unit limits for a managed scaling policy.
|
String |
toString()
Returns a string representation of this object.
|
ManagedScalingPolicy |
withComputeLimits(ComputeLimits computeLimits)
The Amazon EC2 unit limits for a managed scaling policy.
|
public void setComputeLimits(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.
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.public ComputeLimits getComputeLimits()
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.
public ManagedScalingPolicy withComputeLimits(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.
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.public String toString()
toString
in class Object
Object.toString()
public ManagedScalingPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.