@Stability(value=Experimental) public static final class BatchSubmitJobProps.Builder extends Object implements software.amazon.jsii.Builder<BatchSubmitJobProps>
BatchSubmitJobProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public BatchSubmitJobProps.Builder jobDefinitionArn(String jobDefinitionArn)
BatchSubmitJobProps.getJobDefinitionArn()jobDefinitionArn - The arn of the job definition used by this job. This parameter is required.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder jobName(String jobName)
BatchSubmitJobProps.getJobName()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.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder jobQueueArn(String jobQueueArn)
BatchSubmitJobProps.getJobQueueArn()jobQueueArn - The arn of the job queue into which the job is submitted. This parameter is required.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder arraySize(Number arraySize)
BatchSubmitJobProps.getArraySize()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.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder attempts(Number attempts)
BatchSubmitJobProps.getAttempts()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.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder containerOverrides(BatchContainerOverrides containerOverrides)
BatchSubmitJobProps.getContainerOverrides()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@Stability(value=Experimental) public BatchSubmitJobProps.Builder dependsOn(List<? extends BatchJobDependency> dependsOn)
BatchSubmitJobProps.getDependsOn()dependsOn - A list of dependencies for the job.
A job can depend upon a maximum of 20 jobs.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder payload(TaskInput payload)
BatchSubmitJobProps.getPayload()payload - The payload to be passed as parameters to the batch job.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder comment(String comment)
TaskStateBaseProps.getComment()comment - An optional description for this state.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()heartbeat - Timeout for the heartbeat.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder inputPath(String inputPath)
TaskStateBaseProps.getInputPath()inputPath - JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()integrationPattern - AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis@Stability(value=Experimental) public BatchSubmitJobProps.Builder outputPath(String outputPath)
TaskStateBaseProps.getOutputPath()outputPath - JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder resultPath(String resultPath)
TaskStateBaseProps.getResultPath()resultPath - JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder resultSelector(Map<String,? extends Object> resultSelector)
TaskStateBaseProps.getResultSelector()resultSelector - The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this@Stability(value=Experimental) public BatchSubmitJobProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()timeout - Timeout for the state machine.this@Stability(value=Experimental) public BatchSubmitJobProps build()
build in interface software.amazon.jsii.Builder<BatchSubmitJobProps>BatchSubmitJobPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.