@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubmitJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SubmitJobRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitJobRequest |
addParametersEntry(String key,
String value) |
SubmitJobRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
SubmitJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ContainerOverrides |
getContainerOverrides()
A list of container overrides in JSON format that specify the name of a container in the specified job definition
and the overrides it should receive.
|
List<JobDependency> |
getDependsOn()
A list of job IDs on which this job depends.
|
String |
getJobDefinition()
The job definition used by this job.
|
String |
getJobName()
The name of the job.
|
String |
getJobQueue()
The job queue into which the job will be submitted.
|
Map<String,String> |
getParameters()
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition.
|
RetryStrategy |
getRetryStrategy()
The retry strategy to use for failed jobs from this SubmitJob operation.
|
int |
hashCode() |
void |
setContainerOverrides(ContainerOverrides containerOverrides)
A list of container overrides in JSON format that specify the name of a container in the specified job definition
and the overrides it should receive.
|
void |
setDependsOn(Collection<JobDependency> dependsOn)
A list of job IDs on which this job depends.
|
void |
setJobDefinition(String jobDefinition)
The job definition used by this job.
|
void |
setJobName(String jobName)
The name of the job.
|
void |
setJobQueue(String jobQueue)
The job queue into which the job will be submitted.
|
void |
setParameters(Map<String,String> parameters)
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition.
|
void |
setRetryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs from this SubmitJob operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SubmitJobRequest |
withContainerOverrides(ContainerOverrides containerOverrides)
A list of container overrides in JSON format that specify the name of a container in the specified job definition
and the overrides it should receive.
|
SubmitJobRequest |
withDependsOn(Collection<JobDependency> dependsOn)
A list of job IDs on which this job depends.
|
SubmitJobRequest |
withDependsOn(JobDependency... dependsOn)
A list of job IDs on which this job depends.
|
SubmitJobRequest |
withJobDefinition(String jobDefinition)
The job definition used by this job.
|
SubmitJobRequest |
withJobName(String jobName)
The name of the job.
|
SubmitJobRequest |
withJobQueue(String jobQueue)
The job queue into which the job will be submitted.
|
SubmitJobRequest |
withParameters(Map<String,String> parameters)
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition.
|
SubmitJobRequest |
withRetryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs from this SubmitJob operation.
|
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. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
jobName
- The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and
lowercase), numbers, hyphens, and underscores are allowed.public String getJobName()
The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
public SubmitJobRequest withJobName(String jobName)
The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
jobName
- The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and
lowercase), numbers, hyphens, and underscores are allowed.public void setJobQueue(String jobQueue)
The job queue into which the job will be submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.
jobQueue
- The job queue into which the job will be submitted. You can specify either the name or the Amazon Resource
Name (ARN) of the queue.public String getJobQueue()
The job queue into which the job will be submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.
public SubmitJobRequest withJobQueue(String jobQueue)
The job queue into which the job will be submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.
jobQueue
- The job queue into which the job will be submitted. You can specify either the name or the Amazon Resource
Name (ARN) of the queue.public List<JobDependency> getDependsOn()
A list of job IDs on which this job depends. A job can depend upon a maximum of 20 jobs.
public void setDependsOn(Collection<JobDependency> dependsOn)
A list of job IDs on which this job depends. A job can depend upon a maximum of 20 jobs.
dependsOn
- A list of job IDs on which this job depends. A job can depend upon a maximum of 20 jobs.public SubmitJobRequest withDependsOn(JobDependency... dependsOn)
A list of job IDs on which this job depends. A job can depend upon a maximum of 20 jobs.
NOTE: This method appends the values to the existing list (if any). Use
setDependsOn(java.util.Collection)
or withDependsOn(java.util.Collection)
if you want to
override the existing values.
dependsOn
- A list of job IDs on which this job depends. A job can depend upon a maximum of 20 jobs.public SubmitJobRequest withDependsOn(Collection<JobDependency> dependsOn)
A list of job IDs on which this job depends. A job can depend upon a maximum of 20 jobs.
dependsOn
- A list of job IDs on which this job depends. A job can depend upon a maximum of 20 jobs.public void setJobDefinition(String jobDefinition)
The job definition used by this job. This value can be either a name:revision
or the Amazon Resource
Name (ARN) for the job definition.
jobDefinition
- The job definition used by this job. This value can be either a name:revision
or the Amazon
Resource Name (ARN) for the job definition.public String getJobDefinition()
The job definition used by this job. This value can be either a name:revision
or the Amazon Resource
Name (ARN) for the job definition.
name:revision
or the Amazon
Resource Name (ARN) for the job definition.public SubmitJobRequest withJobDefinition(String jobDefinition)
The job definition used by this job. This value can be either a name:revision
or the Amazon Resource
Name (ARN) for the job definition.
jobDefinition
- The job definition used by this job. This value can be either a name:revision
or the Amazon
Resource Name (ARN) for the job definition.public Map<String,String> getParameters()
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition. Parameters are specified as a key and value pair mapping. Parameters in a SubmitJob
request override any corresponding parameter defaults from the job definition.
SubmitJob
request override any corresponding parameter defaults from the job definition.public void setParameters(Map<String,String> parameters)
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition. Parameters are specified as a key and value pair mapping. Parameters in a SubmitJob
request override any corresponding parameter defaults from the job definition.
parameters
- Additional parameters passed to the job that replace parameter substitution placeholders that are set in
the job definition. Parameters are specified as a key and value pair mapping. Parameters in a
SubmitJob
request override any corresponding parameter defaults from the job definition.public SubmitJobRequest withParameters(Map<String,String> parameters)
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition. Parameters are specified as a key and value pair mapping. Parameters in a SubmitJob
request override any corresponding parameter defaults from the job definition.
parameters
- Additional parameters passed to the job that replace parameter substitution placeholders that are set in
the job definition. Parameters are specified as a key and value pair mapping. Parameters in a
SubmitJob
request override any corresponding parameter defaults from the job definition.public SubmitJobRequest addParametersEntry(String key, String value)
public SubmitJobRequest clearParametersEntries()
public void setContainerOverrides(ContainerOverrides containerOverrides)
A list of container overrides in JSON format that specify the name of a container in the specified job definition
and the overrides it should receive. You can override the default command for a container (that is specified in
the job definition or the Docker image) with a command
override. You can also override existing
environment variables (that are specified in the job definition or Docker image) on a container or add new
environment variables to it with an environment
override.
containerOverrides
- A list of container overrides in JSON format that specify the name of a container in the specified job
definition and the overrides it should receive. You can override the default command for a container (that
is specified in the job definition or the Docker image) with a command
override. You can also
override existing environment variables (that are specified in the job definition or Docker image) on a
container or add new environment variables to it with an environment
override.public ContainerOverrides getContainerOverrides()
A list of container overrides in JSON format that specify the name of a container in the specified job definition
and the overrides it should receive. You can override the default command for a container (that is specified in
the job definition or the Docker image) with a command
override. You can also override existing
environment variables (that are specified in the job definition or Docker image) on a container or add new
environment variables to it with an environment
override.
command
override. You
can also override existing environment variables (that are specified in the job definition or Docker
image) on a container or add new environment variables to it with an environment
override.public SubmitJobRequest withContainerOverrides(ContainerOverrides containerOverrides)
A list of container overrides in JSON format that specify the name of a container in the specified job definition
and the overrides it should receive. You can override the default command for a container (that is specified in
the job definition or the Docker image) with a command
override. You can also override existing
environment variables (that are specified in the job definition or Docker image) on a container or add new
environment variables to it with an environment
override.
containerOverrides
- A list of container overrides in JSON format that specify the name of a container in the specified job
definition and the overrides it should receive. You can override the default command for a container (that
is specified in the job definition or the Docker image) with a command
override. You can also
override existing environment variables (that are specified in the job definition or Docker image) on a
container or add new environment variables to it with an environment
override.public void setRetryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition.
retryStrategy
- The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy is
specified here, it overrides the retry strategy defined in the job definition.public RetryStrategy getRetryStrategy()
The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition.
public SubmitJobRequest withRetryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition.
retryStrategy
- The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy is
specified here, it overrides the retry strategy defined in the job definition.public String toString()
toString
in class Object
Object.toString()
public SubmitJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.