@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipeTargetBatchJobParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for using an Batch job as a target.
Constructor and Description |
---|
PipeTargetBatchJobParameters() |
Modifier and Type | Method and Description |
---|---|
PipeTargetBatchJobParameters |
addParametersEntry(String key,
String value)
Add a single Parameters entry
|
PipeTargetBatchJobParameters |
clearParametersEntries()
Removes all the entries added into Parameters.
|
PipeTargetBatchJobParameters |
clone() |
boolean |
equals(Object obj) |
BatchArrayProperties |
getArrayProperties()
The array properties for the submitted job, such as the size of the array.
|
BatchContainerOverrides |
getContainerOverrides()
The overrides that are sent to a container.
|
List<BatchJobDependency> |
getDependsOn()
A list of dependencies for the job.
|
String |
getJobDefinition()
The job definition used by this job.
|
String |
getJobName()
The name of the job.
|
Map<String,String> |
getParameters()
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition.
|
BatchRetryStrategy |
getRetryStrategy()
The retry strategy to use for failed jobs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArrayProperties(BatchArrayProperties arrayProperties)
The array properties for the submitted job, such as the size of the array.
|
void |
setContainerOverrides(BatchContainerOverrides containerOverrides)
The overrides that are sent to a container.
|
void |
setDependsOn(Collection<BatchJobDependency> dependsOn)
A list of dependencies for the job.
|
void |
setJobDefinition(String jobDefinition)
The job definition used by this job.
|
void |
setJobName(String jobName)
The name of the job.
|
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(BatchRetryStrategy retryStrategy)
The retry strategy to use for failed jobs.
|
String |
toString()
Returns a string representation of this object.
|
PipeTargetBatchJobParameters |
withArrayProperties(BatchArrayProperties arrayProperties)
The array properties for the submitted job, such as the size of the array.
|
PipeTargetBatchJobParameters |
withContainerOverrides(BatchContainerOverrides containerOverrides)
The overrides that are sent to a container.
|
PipeTargetBatchJobParameters |
withDependsOn(BatchJobDependency... dependsOn)
A list of dependencies for the job.
|
PipeTargetBatchJobParameters |
withDependsOn(Collection<BatchJobDependency> dependsOn)
A list of dependencies for the job.
|
PipeTargetBatchJobParameters |
withJobDefinition(String jobDefinition)
The job definition used by this job.
|
PipeTargetBatchJobParameters |
withJobName(String jobName)
The name of the job.
|
PipeTargetBatchJobParameters |
withParameters(Map<String,String> parameters)
Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job
definition.
|
PipeTargetBatchJobParameters |
withRetryStrategy(BatchRetryStrategy retryStrategy)
The retry strategy to use for failed jobs.
|
public void setJobDefinition(String jobDefinition)
The job definition used by this job. This value can be one of name
, name:revision
, or
the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest
active revision is used.
jobDefinition
- The job definition used by this job. This value can be one of name
,
name:revision
, or the Amazon Resource Name (ARN) for the job definition. If name is specified
without a revision then the latest active revision is used.public String getJobDefinition()
The job definition used by this job. This value can be one of name
, name:revision
, or
the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest
active revision is used.
name
,
name:revision
, or the Amazon Resource Name (ARN) for the job definition. If name is
specified without a revision then the latest active revision is used.public PipeTargetBatchJobParameters withJobDefinition(String jobDefinition)
The job definition used by this job. This value can be one of name
, name:revision
, or
the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest
active revision is used.
jobDefinition
- The job definition used by this job. This value can be one of name
,
name:revision
, or the Amazon Resource Name (ARN) for the job definition. If name is specified
without a revision then the latest active revision is used.public void setJobName(String jobName)
The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
jobName
- The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can
contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).public String getJobName()
The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
public PipeTargetBatchJobParameters withJobName(String jobName)
The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
jobName
- The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can
contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).public void setArrayProperties(BatchArrayProperties arrayProperties)
The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job.
arrayProperties
- The array properties for the submitted job, such as the size of the array. The array size can be between 2
and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used
only if the target is an Batch job.public BatchArrayProperties getArrayProperties()
The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job.
public PipeTargetBatchJobParameters withArrayProperties(BatchArrayProperties arrayProperties)
The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job.
arrayProperties
- The array properties for the submitted job, such as the size of the array. The array size can be between 2
and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used
only if the target is an Batch job.public void setRetryStrategy(BatchRetryStrategy retryStrategy)
The retry strategy to use for failed jobs. 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. When a retry strategy is specified here, it overrides the retry
strategy defined in the job definition.public BatchRetryStrategy getRetryStrategy()
The retry strategy to use for failed jobs. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition.
public PipeTargetBatchJobParameters withRetryStrategy(BatchRetryStrategy retryStrategy)
The retry strategy to use for failed jobs. 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. When a retry strategy is specified here, it overrides the retry
strategy defined in the job definition.public void setContainerOverrides(BatchContainerOverrides containerOverrides)
The overrides that are sent to a container.
containerOverrides
- The overrides that are sent to a container.public BatchContainerOverrides getContainerOverrides()
The overrides that are sent to a container.
public PipeTargetBatchJobParameters withContainerOverrides(BatchContainerOverrides containerOverrides)
The overrides that are sent to a container.
containerOverrides
- The overrides that are sent to a container.public List<BatchJobDependency> getDependsOn()
A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child array job
completes sequentially, starting at index 0. You can also specify an N_TO_N
type dependency with a
job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of
each dependency to complete before it can begin.
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child
array job completes sequentially, starting at index 0. You can also specify an N_TO_N
type
dependency with a job ID for array jobs. In that case, each index child of this job must wait for the
corresponding index child of each dependency to complete before it can begin.public void setDependsOn(Collection<BatchJobDependency> dependsOn)
A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child array job
completes sequentially, starting at index 0. You can also specify an N_TO_N
type dependency with a
job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of
each dependency to complete before it can begin.
dependsOn
- A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child
array job completes sequentially, starting at index 0. You can also specify an N_TO_N
type
dependency with a job ID for array jobs. In that case, each index child of this job must wait for the
corresponding index child of each dependency to complete before it can begin.public PipeTargetBatchJobParameters withDependsOn(BatchJobDependency... dependsOn)
A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child array job
completes sequentially, starting at index 0. You can also specify an N_TO_N
type dependency with a
job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of
each dependency to complete before it can begin.
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 dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child
array job completes sequentially, starting at index 0. You can also specify an N_TO_N
type
dependency with a job ID for array jobs. In that case, each index child of this job must wait for the
corresponding index child of each dependency to complete before it can begin.public PipeTargetBatchJobParameters withDependsOn(Collection<BatchJobDependency> dependsOn)
A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child array job
completes sequentially, starting at index 0. You can also specify an N_TO_N
type dependency with a
job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of
each dependency to complete before it can begin.
dependsOn
- A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a
SEQUENTIAL
type dependency without specifying a job ID for array jobs so that each child
array job completes sequentially, starting at index 0. You can also specify an N_TO_N
type
dependency with a job ID for array jobs. In that case, each index child of this job must wait for the
corresponding index child of each dependency to complete before it can begin.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 included here 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 included here 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 included here
override any corresponding parameter defaults from the job definition.public PipeTargetBatchJobParameters 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 included here 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 included here
override any corresponding parameter defaults from the job definition.public PipeTargetBatchJobParameters addParametersEntry(String key, String value)
public PipeTargetBatchJobParameters clearParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public PipeTargetBatchJobParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.