@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutManagedScalingPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutManagedScalingPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutManagedScalingPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterId()
Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
|
ManagedScalingPolicy |
getManagedScalingPolicy()
Specifies the constraints for the managed scaling policy.
|
int |
hashCode() |
void |
setClusterId(String clusterId)
Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
|
void |
setManagedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the constraints for the managed scaling policy.
|
String |
toString()
Returns a string representation of this object.
|
PutManagedScalingPolicyRequest |
withClusterId(String clusterId)
Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
|
PutManagedScalingPolicyRequest |
withManagedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the constraints for the managed scaling policy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterId(String clusterId)
Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
clusterId
- Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.public String getClusterId()
Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
public PutManagedScalingPolicyRequest withClusterId(String clusterId)
Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.
clusterId
- Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.public void setManagedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the constraints for the managed scaling policy.
managedScalingPolicy
- Specifies the constraints for the managed scaling policy.public ManagedScalingPolicy getManagedScalingPolicy()
Specifies the constraints for the managed scaling policy.
public PutManagedScalingPolicyRequest withManagedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the constraints for the managed scaling policy.
managedScalingPolicy
- Specifies the constraints for the managed scaling policy.public String toString()
toString
in class Object
Object.toString()
public PutManagedScalingPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()