public static interface JobDefinition.Builder extends CopyableBuilder<JobDefinition.Builder,JobDefinition>
| Modifier and Type | Method and Description |
|---|---|
default JobDefinition.Builder |
containerProperties(Consumer<ContainerProperties.Builder> containerProperties)
An object with various properties specific to container-based jobs.
|
JobDefinition.Builder |
containerProperties(ContainerProperties containerProperties)
An object with various properties specific to container-based jobs.
|
JobDefinition.Builder |
jobDefinitionArn(String jobDefinitionArn)
The Amazon Resource Name (ARN) for the job definition.
|
JobDefinition.Builder |
jobDefinitionName(String jobDefinitionName)
The name of the job definition.
|
JobDefinition.Builder |
parameters(Map<String,String> parameters)
Default parameters or parameter substitution placeholders that are set in the job definition.
|
default JobDefinition.Builder |
retryStrategy(Consumer<RetryStrategy.Builder> retryStrategy)
The retry strategy to use for failed jobs that are submitted with this job definition.
|
JobDefinition.Builder |
retryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs that are submitted with this job definition.
|
JobDefinition.Builder |
revision(Integer revision)
The revision of the job definition.
|
JobDefinition.Builder |
status(String status)
The status of the job definition.
|
JobDefinition.Builder |
type(String type)
The type of job definition.
|
copyapply, buildJobDefinition.Builder jobDefinitionName(String jobDefinitionName)
The name of the job definition.
jobDefinitionName - The name of the job definition.JobDefinition.Builder jobDefinitionArn(String jobDefinitionArn)
The Amazon Resource Name (ARN) for the job definition.
jobDefinitionArn - The Amazon Resource Name (ARN) for the job definition.JobDefinition.Builder revision(Integer revision)
The revision of the job definition.
revision - The revision of the job definition.JobDefinition.Builder status(String status)
The status of the job definition.
status - The status of the job definition.JobDefinition.Builder type(String type)
The type of job definition.
type - The type of job definition.JobDefinition.Builder parameters(Map<String,String> parameters)
Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are
specified as a key-value pair mapping. Parameters in a SubmitJob request override any
corresponding parameter defaults from the job definition.
parameters - Default parameters or parameter substitution placeholders that are set in the job definition.
Parameters are specified as a key-value pair mapping. Parameters in a SubmitJob request
override any corresponding parameter defaults from the job definition.JobDefinition.Builder retryStrategy(RetryStrategy retryStrategy)
The retry strategy to use for failed jobs that are submitted with this job definition.
retryStrategy - The retry strategy to use for failed jobs that are submitted with this job definition.default JobDefinition.Builder retryStrategy(Consumer<RetryStrategy.Builder> retryStrategy)
The retry strategy to use for failed jobs that are submitted with this job definition.
This is a convenience that creates an instance of theRetryStrategy.Builder avoiding the need to
create one manually via RetryStrategy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retryStrategy(RetryStrategy).retryStrategy - a consumer that will call methods on RetryStrategy.BuilderretryStrategy(RetryStrategy)JobDefinition.Builder containerProperties(ContainerProperties containerProperties)
An object with various properties specific to container-based jobs.
containerProperties - An object with various properties specific to container-based jobs.default JobDefinition.Builder containerProperties(Consumer<ContainerProperties.Builder> containerProperties)
An object with various properties specific to container-based jobs.
This is a convenience that creates an instance of theContainerProperties.Builder avoiding the need
to create one manually via ContainerProperties.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to containerProperties(ContainerProperties).containerProperties - a consumer that will call methods on ContainerProperties.BuildercontainerProperties(ContainerProperties)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.