@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAutoTerminationPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutAutoTerminationPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutAutoTerminationPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AutoTerminationPolicy |
getAutoTerminationPolicy()
Specifies the auto-termination policy to attach to the cluster.
|
String |
getClusterId()
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
|
int |
hashCode() |
void |
setAutoTerminationPolicy(AutoTerminationPolicy autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.
|
void |
setClusterId(String clusterId)
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
|
String |
toString()
Returns a string representation of this object.
|
PutAutoTerminationPolicyRequest |
withAutoTerminationPolicy(AutoTerminationPolicy autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.
|
PutAutoTerminationPolicyRequest |
withClusterId(String clusterId)
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
|
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 the Amazon EMR cluster to which the auto-termination policy will be attached.
clusterId
- Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.public String getClusterId()
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
public PutAutoTerminationPolicyRequest withClusterId(String clusterId)
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
clusterId
- Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.public void setAutoTerminationPolicy(AutoTerminationPolicy autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.
autoTerminationPolicy
- Specifies the auto-termination policy to attach to the cluster.public AutoTerminationPolicy getAutoTerminationPolicy()
Specifies the auto-termination policy to attach to the cluster.
public PutAutoTerminationPolicyRequest withAutoTerminationPolicy(AutoTerminationPolicy autoTerminationPolicy)
Specifies the auto-termination policy to attach to the cluster.
autoTerminationPolicy
- Specifies the auto-termination policy to attach to the cluster.public String toString()
toString
in class Object
Object.toString()
public PutAutoTerminationPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()