@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() |
boolean |
equals(Object obj) |
String |
getClusterId()
Specifies the ID of an 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 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 EMR cluster where the managed scaling policy is attached.
|
PutManagedScalingPolicyRequest |
withManagedScalingPolicy(ManagedScalingPolicy managedScalingPolicy)
Specifies the constraints for the managed scaling policy.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setClusterId(String clusterId)
Specifies the ID of an EMR cluster where the managed scaling policy is attached.
clusterId - Specifies the ID of an EMR cluster where the managed scaling policy is attached.public String getClusterId()
Specifies the ID of an EMR cluster where the managed scaling policy is attached.
public PutManagedScalingPolicyRequest withClusterId(String clusterId)
Specifies the ID of an EMR cluster where the managed scaling policy is attached.
clusterId - Specifies the ID of an 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 ObjectObject.toString()public PutManagedScalingPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.