public class CancelJobRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
CancelJobRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getJobId()
A unique identifier which refers to a particular job.
|
int |
hashCode() |
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 |
withJobId(String jobId)
A unique identifier which refers to a particular job.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public 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 toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.