@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchParameters extends Object implements Serializable, Cloneable, StructuredPojo
The custom parameters to be used when the target is an Batch job.
Constructor and Description |
---|
BatchParameters() |
Modifier and Type | Method and Description |
---|---|
BatchParameters |
clone() |
boolean |
equals(Object obj) |
BatchArrayProperties |
getArrayProperties()
The array properties for the submitted job, such as the size of the array.
|
String |
getJobDefinition()
The ARN or name of the job definition to use if the event target is an Batch job.
|
String |
getJobName()
The name to use for this execution of the job, if the target is an Batch job.
|
BatchRetryStrategy |
getRetryStrategy()
The retry strategy to use for failed jobs, if the target is an Batch job.
|
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 |
setJobDefinition(String jobDefinition)
The ARN or name of the job definition to use if the event target is an Batch job.
|
void |
setJobName(String jobName)
The name to use for this execution of the job, if the target is an Batch job.
|
void |
setRetryStrategy(BatchRetryStrategy retryStrategy)
The retry strategy to use for failed jobs, if the target is an Batch job.
|
String |
toString()
Returns a string representation of this object.
|
BatchParameters |
withArrayProperties(BatchArrayProperties arrayProperties)
The array properties for the submitted job, such as the size of the array.
|
BatchParameters |
withJobDefinition(String jobDefinition)
The ARN or name of the job definition to use if the event target is an Batch job.
|
BatchParameters |
withJobName(String jobName)
The name to use for this execution of the job, if the target is an Batch job.
|
BatchParameters |
withRetryStrategy(BatchRetryStrategy retryStrategy)
The retry strategy to use for failed jobs, if the target is an Batch job.
|
public void setJobDefinition(String jobDefinition)
The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.
jobDefinition
- The ARN or name of the job definition to use if the event target is an Batch job. This job definition must
already exist.public String getJobDefinition()
The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.
public BatchParameters withJobDefinition(String jobDefinition)
The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.
jobDefinition
- The ARN or name of the job definition to use if the event target is an Batch job. This job definition must
already exist.public void setJobName(String jobName)
The name to use for this execution of the job, if the target is an Batch job.
jobName
- The name to use for this execution of the job, if the target is an Batch job.public String getJobName()
The name to use for this execution of the job, if the target is an Batch job.
public BatchParameters withJobName(String jobName)
The name to use for this execution of the job, if the target is an Batch job.
jobName
- The name to use for this execution of the job, if the target is an Batch job.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 BatchParameters 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, if the target is an Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
retryStrategy
- The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number
of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here,
it overrides the retry strategy defined in the job definition.public BatchRetryStrategy getRetryStrategy()
The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
public BatchParameters withRetryStrategy(BatchRetryStrategy retryStrategy)
The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
retryStrategy
- The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number
of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here,
it overrides the retry strategy defined in the job definition.public String toString()
toString
in class Object
Object.toString()
public BatchParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.