public class CancelJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The CancelJobRequest
structure.
NOOP
Constructor and Description |
---|
CancelJobRequest() |
Modifier and Type | Method and Description |
---|---|
CancelJobRequest |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The identifier of the job that you want to cancel.
|
int |
hashCode() |
void |
setId(String id)
The identifier of the job that you want to cancel.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelJobRequest |
withId(String id)
The identifier of the job that you want to cancel.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String 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.
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 String getId()
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.
To get a list of the jobs (including their jobId
)
that have a status of Submitted
, use the
ListJobsByStatus API action.
public CancelJobRequest withId(String 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.
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 String toString()
toString
in class Object
Object.toString()
public CancelJobRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.