@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() |
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 names or 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.
|
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 names or 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.
|
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 names or IDs on which this job depends.
|
SubmitJobRequest |
withDependsOn(JobDependency... dependsOn)
A list of job names or 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.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobName(String jobName)
The name of the job.
jobName
- The name of the job.public String getJobName()
The name of the job.
public SubmitJobRequest withJobName(String jobName)
The name of the job.
jobName
- The name of the job.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 names or IDs on which this job depends. A job can depend upon a maximum of 100 jobs.
public void setDependsOn(Collection<JobDependency> dependsOn)
A list of job names or IDs on which this job depends. A job can depend upon a maximum of 100 jobs.
dependsOn
- A list of job names or IDs on which this job depends. A job can depend upon a maximum of 100 jobs.public SubmitJobRequest withDependsOn(JobDependency... dependsOn)
A list of job names or IDs on which this job depends. A job can depend upon a maximum of 100 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 names or IDs on which this job depends. A job can depend upon a maximum of 100 jobs.public SubmitJobRequest withDependsOn(Collection<JobDependency> dependsOn)
A list of job names or IDs on which this job depends. A job can depend upon a maximum of 100 jobs.
dependsOn
- A list of job names or IDs on which this job depends. A job can depend upon a maximum of 100 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 String toString()
toString
in class Object
Object.toString()
public SubmitJobRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.