public class CancelJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CancelJob operation.
This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.
NOOP| Constructor and Description |
|---|
CancelJobRequest() |
| Modifier and Type | Method and Description |
|---|---|
CancelJobRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAPIVersion()
Specifies the version of the client tool.
|
String |
getJobId()
A unique identifier which refers to a particular job.
|
int |
hashCode() |
void |
setAPIVersion(String aPIVersion)
Specifies the version of the client tool.
|
void |
setJobId(String jobId)
A unique identifier which refers to a particular job.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelJobRequest |
withAPIVersion(String aPIVersion)
Specifies the version of the client tool.
|
CancelJobRequest |
withJobId(String jobId)
A unique identifier which refers to a particular job.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getJobId()
public void setJobId(String jobId)
jobId - A unique identifier which refers to a particular job.public CancelJobRequest withJobId(String jobId)
Returns a reference to this object so that method calls can be chained together.
jobId - A unique identifier which refers to a particular job.public String getAPIVersion()
public void setAPIVersion(String aPIVersion)
aPIVersion - Specifies the version of the client tool.public CancelJobRequest withAPIVersion(String aPIVersion)
Returns a reference to this object so that method calls can be chained together.
aPIVersion - Specifies the version of the client tool.public String toString()
toString in class ObjectObject.toString()public CancelJobRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.