public class CancelJobRequest extends AmazonWebServiceRequest implements Serializable
Cancels a job.
| Constructor and Description |
|---|
CancelJobRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getJobId()
The unique identifier you assigned to this job when it was created.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
The unique identifier you assigned to this job when it was created.
public void setJobId(String jobId)
The unique identifier you assigned to this job when it was created.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
jobId - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
jobId - The unique identifier you assigned to this job when it was created.
public String getComment()
An optional comment string describing why the job was canceled.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
An optional comment string describing why the job was canceled.
public void setComment(String comment)
An optional comment string describing why the job was canceled.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
comment - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
comment - An optional comment string describing why the job was canceled.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.