@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TerminateJobRequest() |
| Modifier and Type | Method and Description |
|---|---|
TerminateJobRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getJobId()
Job IDs to be terminated.
|
String |
getReason()
A message to attach to the job that explains the reason for cancelling it.
|
int |
hashCode() |
void |
setJobId(String jobId)
Job IDs to be terminated.
|
void |
setReason(String reason)
A message to attach to the job that explains the reason for cancelling it.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TerminateJobRequest |
withJobId(String jobId)
Job IDs to be terminated.
|
TerminateJobRequest |
withReason(String reason)
A message to attach to the job that explains the reason for cancelling it.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setJobId(String jobId)
Job IDs to be terminated. Up to 100 jobs can be specified.
jobId - Job IDs to be terminated. Up to 100 jobs can be specified.public String getJobId()
Job IDs to be terminated. Up to 100 jobs can be specified.
public TerminateJobRequest withJobId(String jobId)
Job IDs to be terminated. Up to 100 jobs can be specified.
jobId - Job IDs to be terminated. Up to 100 jobs can be specified.public void setReason(String reason)
A message to attach to the job that explains the reason for cancelling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs.
reason - A message to attach to the job that explains the reason for cancelling it. This message is returned by
future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity
logs.public String getReason()
A message to attach to the job that explains the reason for cancelling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs.
public TerminateJobRequest withReason(String reason)
A message to attach to the job that explains the reason for cancelling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity logs.
reason - A message to attach to the job that explains the reason for cancelling it. This message is returned by
future DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity
logs.public String toString()
toString in class ObjectObject.toString()public TerminateJobRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.