Class RunBatchJobProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.RunBatchJobProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RunBatchJobProps>
- Enclosing interface:
- RunBatchJobProps
@Stability(Deprecated)
@Deprecated
public static final class RunBatchJobProps.Builder
extends Object
implements software.amazon.jsii.Builder<RunBatchJobProps>
Deprecated.
A builder for
RunBatchJobProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.build()
Deprecated.containerOverrides
(ContainerOverrides containerOverrides) Deprecated.dependsOn
(List<? extends JobDependency> dependsOn) Deprecated.integrationPattern
(ServiceIntegrationPattern integrationPattern) Deprecated.jobDefinitionArn
(String jobDefinitionArn) Deprecated.Deprecated.jobQueueArn
(String jobQueueArn) Deprecated.Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
jobDefinitionArn
@Stability(Deprecated) @Deprecated public RunBatchJobProps.Builder jobDefinitionArn(String jobDefinitionArn) Deprecated.Sets the value ofRunBatchJobProps.getJobDefinitionArn()
- Parameters:
jobDefinitionArn
- The arn of the job definition used by this job. This parameter is required.- Returns:
this
-
jobName
Deprecated.Sets the value ofRunBatchJobProps.getJobName()
- Parameters:
jobName
- The name of the job. This parameter is required. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.- Returns:
this
-
jobQueueArn
Deprecated.Sets the value ofRunBatchJobProps.getJobQueueArn()
- Parameters:
jobQueueArn
- The arn of the job queue into which the job is submitted. This parameter is required.- Returns:
this
-
arraySize
Deprecated.Sets the value ofRunBatchJobProps.getArraySize()
- Parameters:
arraySize
- The array size can be between 2 and 10,000. 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.- Returns:
this
-
attempts
Deprecated.Sets the value ofRunBatchJobProps.getAttempts()
- Parameters:
attempts
- The number of times to move a job to the RUNNABLE status. 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.- Returns:
this
-
containerOverrides
@Stability(Deprecated) @Deprecated public RunBatchJobProps.Builder containerOverrides(ContainerOverrides containerOverrides) Deprecated.Sets the value ofRunBatchJobProps.getContainerOverrides()
- Parameters:
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.- Returns:
this
-
dependsOn
@Stability(Deprecated) @Deprecated public RunBatchJobProps.Builder dependsOn(List<? extends JobDependency> dependsOn) Deprecated.Sets the value ofRunBatchJobProps.getDependsOn()
- Parameters:
dependsOn
- A list of dependencies for the job. A job can depend upon a maximum of 20 jobs.- Returns:
this
-
integrationPattern
@Stability(Deprecated) @Deprecated public RunBatchJobProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.Sets the value ofRunBatchJobProps.getIntegrationPattern()
- Parameters:
integrationPattern
- The service integration pattern indicates different ways to call TerminateCluster. The valid value is either FIRE_AND_FORGET or SYNC.- Returns:
this
-
payload
@Stability(Deprecated) @Deprecated public RunBatchJobProps.Builder payload(Map<String, ? extends Object> payload) Deprecated.Sets the value ofRunBatchJobProps.getPayload()
- Parameters:
payload
- The payload to be passed as parametrs to the batch job.- Returns:
this
-
timeout
Deprecated.Sets the value ofRunBatchJobProps.getTimeout()
- Parameters:
timeout
- The timeout configuration for this SubmitJob operation. The minimum value for the timeout is 60 seconds.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RunBatchJobProps>
- Returns:
- a new instance of
RunBatchJobProps
- Throws:
NullPointerException
- if any required attribute was not provided
-