@Deprecated
public static final class RunBatchJob.Builder
extends java.lang.Object
RunBatchJob
.Modifier and Type | Method and Description |
---|---|
RunBatchJob.Builder |
arraySize(java.lang.Number arraySize)
Deprecated.
|
RunBatchJob.Builder |
attempts(java.lang.Number attempts)
Deprecated.
|
RunBatchJob |
build()
Deprecated.
|
RunBatchJob.Builder |
containerOverrides(ContainerOverrides containerOverrides)
Deprecated.
|
static RunBatchJob.Builder |
create()
Deprecated.
|
RunBatchJob.Builder |
dependsOn(java.util.List<? extends JobDependency> dependsOn)
Deprecated.
|
RunBatchJob.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
|
RunBatchJob.Builder |
jobDefinitionArn(java.lang.String jobDefinitionArn)
Deprecated.
|
RunBatchJob.Builder |
jobName(java.lang.String jobName)
Deprecated.
|
RunBatchJob.Builder |
jobQueueArn(java.lang.String jobQueueArn)
Deprecated.
|
RunBatchJob.Builder |
payload(java.util.Map<java.lang.String,? extends java.lang.Object> payload)
Deprecated.
|
RunBatchJob.Builder |
timeout(Duration timeout)
Deprecated.
|
@Deprecated public static RunBatchJob.Builder create()
RunBatchJob.Builder
.@Deprecated public RunBatchJob.Builder jobDefinitionArn(java.lang.String jobDefinitionArn)
jobDefinitionArn
- The arn of the job definition used by this job. This parameter is required.this
@Deprecated public RunBatchJob.Builder jobName(java.lang.String jobName)
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. This parameter is required.this
@Deprecated public RunBatchJob.Builder jobQueueArn(java.lang.String jobQueueArn)
jobQueueArn
- The arn of the job queue into which the job is submitted. This parameter is required.this
@Deprecated public RunBatchJob.Builder arraySize(java.lang.Number arraySize)
If you specify array properties for a job, it becomes an array job. For more information, see Array Jobs in the AWS Batch User Guide.
Default: - No array size
arraySize
- The array size can be between 2 and 10,000. This parameter is required.this
@Deprecated public RunBatchJob.Builder attempts(java.lang.Number attempts)
You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.
Default: - 1
attempts
- The number of times to move a job to the RUNNABLE status. This parameter is required.this
@Deprecated public RunBatchJob.Builder containerOverrides(ContainerOverrides containerOverrides)
Default: - No container overrides
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. This parameter is required.this
@Deprecated public RunBatchJob.Builder dependsOn(java.util.List<? extends JobDependency> dependsOn)
A job can depend upon a maximum of 20 jobs.
Default: - No dependencies
dependsOn
- A list of dependencies for the job. This parameter is required.this
@Deprecated public RunBatchJob.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value is either FIRE_AND_FORGET or SYNC.
Default: SYNC
integrationPattern
- The service integration pattern indicates different ways to call TerminateCluster. This parameter is required.this
@Deprecated public RunBatchJob.Builder payload(java.util.Map<java.lang.String,? extends java.lang.Object> payload)
Default: - No parameters are passed
payload
- The payload to be passed as parametrs to the batch job. This parameter is required.this
@Deprecated public RunBatchJob.Builder timeout(Duration timeout)
The minimum value for the timeout is 60 seconds.
Default: - No timeout
timeout
- The timeout configuration for this SubmitJob operation. This parameter is required.this
@Deprecated public RunBatchJob build()