@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelStepsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input argument to the CancelSteps operation.
NOOP
Constructor and Description |
---|
CancelStepsRequest() |
Modifier and Type | Method and Description |
---|---|
CancelStepsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterId()
The
ClusterID for the specified steps that will be canceled. |
String |
getStepCancellationOption()
The option to choose to cancel
RUNNING steps. |
List<String> |
getStepIds()
The list of
StepIDs to cancel. |
int |
hashCode() |
void |
setClusterId(String clusterId)
The
ClusterID for the specified steps that will be canceled. |
void |
setStepCancellationOption(String stepCancellationOption)
The option to choose to cancel
RUNNING steps. |
void |
setStepIds(Collection<String> stepIds)
The list of
StepIDs to cancel. |
String |
toString()
Returns a string representation of this object.
|
CancelStepsRequest |
withClusterId(String clusterId)
The
ClusterID for the specified steps that will be canceled. |
CancelStepsRequest |
withStepCancellationOption(StepCancellationOption stepCancellationOption)
The option to choose to cancel
RUNNING steps. |
CancelStepsRequest |
withStepCancellationOption(String stepCancellationOption)
The option to choose to cancel
RUNNING steps. |
CancelStepsRequest |
withStepIds(Collection<String> stepIds)
The list of
StepIDs to cancel. |
CancelStepsRequest |
withStepIds(String... stepIds)
The list of
StepIDs to cancel. |
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)
The ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.
clusterId
- The ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.public String getClusterId()
The ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.
ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.public CancelStepsRequest withClusterId(String clusterId)
The ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.
clusterId
- The ClusterID
for the specified steps that will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.public List<String> getStepIds()
The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the specified
cluster.
StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.public void setStepIds(Collection<String> stepIds)
The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the specified
cluster.
stepIds
- The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.public CancelStepsRequest withStepIds(String... stepIds)
The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the specified
cluster.
NOTE: This method appends the values to the existing list (if any). Use
setStepIds(java.util.Collection)
or withStepIds(java.util.Collection)
if you want to override
the existing values.
stepIds
- The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.public CancelStepsRequest withStepIds(Collection<String> stepIds)
The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the specified
cluster.
stepIds
- The list of StepIDs
to cancel. Use ListSteps to get steps and their states for the
specified cluster.public void setStepCancellationOption(String stepCancellationOption)
The option to choose to cancel RUNNING
steps. By default, the value is SEND_INTERRUPT
.
stepCancellationOption
- The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.StepCancellationOption
public String getStepCancellationOption()
The option to choose to cancel RUNNING
steps. By default, the value is SEND_INTERRUPT
.
RUNNING
steps. By default, the value is
SEND_INTERRUPT
.StepCancellationOption
public CancelStepsRequest withStepCancellationOption(String stepCancellationOption)
The option to choose to cancel RUNNING
steps. By default, the value is SEND_INTERRUPT
.
stepCancellationOption
- The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.StepCancellationOption
public CancelStepsRequest withStepCancellationOption(StepCancellationOption stepCancellationOption)
The option to choose to cancel RUNNING
steps. By default, the value is SEND_INTERRUPT
.
stepCancellationOption
- The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.StepCancellationOption
public String toString()
toString
in class Object
Object.toString()
public CancelStepsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()