@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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 Object
Object.toString()
public CancelJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.