@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 which specified steps will be canceled. |
List<String> |
getStepIds()
The list of
StepIDs to cancel. |
int |
hashCode() |
void |
setClusterId(String clusterId)
The
ClusterID for which specified steps will be canceled. |
void |
setStepIds(Collection<String> stepIds)
The list of
StepIDs to cancel. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CancelStepsRequest |
withClusterId(String clusterId)
The
ClusterID for which specified steps will be canceled. |
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 which specified steps will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.
clusterId
- The ClusterID
for which specified steps will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.public String getClusterId()
The ClusterID
for which specified steps will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.
ClusterID
for which specified steps will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.public CancelStepsRequest withClusterId(String clusterId)
The ClusterID
for which specified steps will be canceled. Use RunJobFlow and
ListClusters to get ClusterIDs.
clusterId
- The ClusterID
for which specified steps 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 String toString()
toString
in class Object
Object.toString()
public CancelStepsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.