public class CancelJobRequest extends AmazonWebServiceRequest implements java.io.Serializable
CancelJob operation.
The CancelJob operation cancels an unfinished job.
NOTE:You can only cancel a job that has a status of Submitted. To prevent a pipeline from starting to process a job while you're getting the job identifier, use UpdatePipelineStatus to temporarily pause the pipeline.
| コンストラクタと説明 |
|---|
CancelJobRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The identifier of the job that you want to cancel.
|
int |
hashCode() |
void |
setId(java.lang.String id)
The identifier of the job that you want to cancel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelJobRequest |
withId(java.lang.String id)
The identifier of the job that you want to cancel.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getId()
To get a list of
the jobs (including their jobId) that have a status of
Submitted, use the ListJobsByStatus API action.
Constraints:
Pattern: ^\d{13}-\w{6}$
To get a list of
the jobs (including their jobId) that have a status of
Submitted, use the ListJobsByStatus API action.
public void setId(java.lang.String id)
To get a list of
the jobs (including their jobId) that have a status of
Submitted, use the ListJobsByStatus API action.
Constraints:
Pattern: ^\d{13}-\w{6}$
id - The identifier of the job that you want to cancel. To get a list of
the jobs (including their jobId) that have a status of
Submitted, use the ListJobsByStatus API action.
public CancelJobRequest withId(java.lang.String id)
To get a list of
the jobs (including their jobId) that have a status of
Submitted, use the ListJobsByStatus API action.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{13}-\w{6}$
id - The identifier of the job that you want to cancel. To get a list of
the jobs (including their jobId) that have a status of
Submitted, use the ListJobsByStatus API action.
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object