@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStopJobRunRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchStopJobRunRequest() |
Modifier and Type | Method and Description |
---|---|
BatchStopJobRunRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getJobName()
The name of the job definition for which to stop job runs.
|
List<String> |
getJobRunIds()
A list of the
JobRunIds that should be stopped for that job definition. |
int |
hashCode() |
void |
setJobName(String jobName)
The name of the job definition for which to stop job runs.
|
void |
setJobRunIds(Collection<String> jobRunIds)
A list of the
JobRunIds that should be stopped for that job definition. |
String |
toString()
Returns a string representation of this object.
|
BatchStopJobRunRequest |
withJobName(String jobName)
The name of the job definition for which to stop job runs.
|
BatchStopJobRunRequest |
withJobRunIds(Collection<String> jobRunIds)
A list of the
JobRunIds that should be stopped for that job definition. |
BatchStopJobRunRequest |
withJobRunIds(String... jobRunIds)
A list of the
JobRunIds that should be stopped for that job definition. |
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 setJobName(String jobName)
The name of the job definition for which to stop job runs.
jobName
- The name of the job definition for which to stop job runs.public String getJobName()
The name of the job definition for which to stop job runs.
public BatchStopJobRunRequest withJobName(String jobName)
The name of the job definition for which to stop job runs.
jobName
- The name of the job definition for which to stop job runs.public List<String> getJobRunIds()
A list of the JobRunIds
that should be stopped for that job definition.
JobRunIds
that should be stopped for that job definition.public void setJobRunIds(Collection<String> jobRunIds)
A list of the JobRunIds
that should be stopped for that job definition.
jobRunIds
- A list of the JobRunIds
that should be stopped for that job definition.public BatchStopJobRunRequest withJobRunIds(String... jobRunIds)
A list of the JobRunIds
that should be stopped for that job definition.
NOTE: This method appends the values to the existing list (if any). Use
setJobRunIds(java.util.Collection)
or withJobRunIds(java.util.Collection)
if you want to
override the existing values.
jobRunIds
- A list of the JobRunIds
that should be stopped for that job definition.public BatchStopJobRunRequest withJobRunIds(Collection<String> jobRunIds)
A list of the JobRunIds
that should be stopped for that job definition.
jobRunIds
- A list of the JobRunIds
that should be stopped for that job definition.public String toString()
toString
in class Object
Object.toString()
public BatchStopJobRunRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()