@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
 The CancelJobRequest structure.
 
NOOP| Constructor and Description | 
|---|
| CancelJobRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CancelJobRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getId()
 The identifier of the job that you want to cancel. | 
| int | hashCode() | 
| void | setId(String id)
 The identifier of the job that you want to cancel. | 
| String | toString()Returns a string representation of this object. | 
| CancelJobRequest | withId(String id)
 The identifier of the job that you want 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, withSdkRequestTimeoutpublic void setId(String id)
The identifier of the job that you want to cancel.
 To get a list of the jobs (including their jobId) that have a status of Submitted, use
 the ListJobsByStatus API action.
 
id - The identifier of the job that you want to cancel.
        
        To get a list of the jobs (including their jobId) that have a status of
        Submitted, use the ListJobsByStatus API action.
public String getId()
The identifier of the job that you want to cancel.
 To get a list of the jobs (including their jobId) that have a status of Submitted, use
 the ListJobsByStatus API action.
 
         To get a list of the jobs (including their jobId) that have a status of
         Submitted, use the ListJobsByStatus API action.
public CancelJobRequest withId(String id)
The identifier of the job that you want to cancel.
 To get a list of the jobs (including their jobId) that have a status of Submitted, use
 the ListJobsByStatus API action.
 
id - The identifier of the job that you want to cancel.
        
        To get a list of the jobs (including their jobId) that have a status of
        Submitted, use the ListJobsByStatus API action.
public String toString()
toString in class ObjectObject.toString()public CancelJobRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()