@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CancelJobRequest() |
| Modifier and Type | Method and Description |
|---|---|
CancelJobRequest |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
An optional comment string describing why the job was canceled.
|
String |
getJobId()
The unique identifier you assigned to this job when it was created.
|
int |
hashCode() |
void |
setComment(String comment)
An optional comment string describing why the job was canceled.
|
void |
setJobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CancelJobRequest |
withComment(String comment)
An optional comment string describing why the job was canceled.
|
CancelJobRequest |
withJobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
addHandlerContext, copyBaseTo, 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 setJobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId - The unique identifier you assigned to this job when it was created.public String getJobId()
The unique identifier you assigned to this job when it was created.
public CancelJobRequest withJobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId - The unique identifier you assigned to this job when it was created.public void setComment(String comment)
An optional comment string describing why the job was canceled.
comment - An optional comment string describing why the job was canceled.public String getComment()
An optional comment string describing why the job was canceled.
public CancelJobRequest withComment(String comment)
An optional comment string describing why the job was canceled.
comment - An optional comment string describing why the job was canceled.public String toString()
toString in class ObjectObject.toString()public CancelJobRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.