Class CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetBatchJobParametersProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeTargetBatchJobParametersProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetBatchJobParametersProperty>
A builder for
CfnPipePropsMixin.PipeTargetBatchJobParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarrayProperties(CfnPipePropsMixin.BatchArrayPropertiesProperty arrayProperties) arrayProperties(IResolvable arrayProperties) build()Builds the configured instance.containerOverrides(CfnPipePropsMixin.BatchContainerOverridesProperty containerOverrides) containerOverrides(IResolvable containerOverrides) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getDependsOn()dependsOn(IResolvable dependsOn) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getDependsOn()jobDefinition(String jobDefinition) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getJobName()parameters(Map<String, String> parameters) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getParameters()parameters(IResolvable parameters) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getParameters()retryStrategy(CfnPipePropsMixin.BatchRetryStrategyProperty retryStrategy) retryStrategy(IResolvable retryStrategy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arrayProperties
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder arrayProperties(IResolvable arrayProperties) - Parameters:
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 AWS Batch job.- Returns:
this
-
arrayProperties
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder arrayProperties(CfnPipePropsMixin.BatchArrayPropertiesProperty arrayProperties) - Parameters:
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 AWS Batch job.- Returns:
this
-
containerOverrides
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder containerOverrides(IResolvable containerOverrides) - Parameters:
containerOverrides- The overrides that are sent to a container.- Returns:
this
-
containerOverrides
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder containerOverrides(CfnPipePropsMixin.BatchContainerOverridesProperty containerOverrides) - Parameters:
containerOverrides- The overrides that are sent to a container.- Returns:
this
-
dependsOn
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder dependsOn(IResolvable dependsOn) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getDependsOn()- Parameters:
dependsOn- A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify aSEQUENTIALtype dependency without specifying a job ID for array jobs so that each child array job completes sequentially, starting at index 0. You can also specify anN_TO_Ntype dependency with a job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of each dependency to complete before it can begin.- Returns:
this
-
dependsOn
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder dependsOn(List<? extends Object> dependsOn) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getDependsOn()- Parameters:
dependsOn- A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify aSEQUENTIALtype dependency without specifying a job ID for array jobs so that each child array job completes sequentially, starting at index 0. You can also specify anN_TO_Ntype dependency with a job ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of each dependency to complete before it can begin.- Returns:
this
-
jobDefinition
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder jobDefinition(String jobDefinition) - Parameters:
jobDefinition- The job definition used by this job. This value can be one ofname,name:revision, or the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest active revision is used.- Returns:
this
-
jobName
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder jobName(String jobName) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getJobName()- Parameters:
jobName- The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).- Returns:
this
-
parameters
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder parameters(Map<String, String> parameters) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getParameters()- Parameters:
parameters- Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job definition. Parameters are specified as a key and value pair mapping. Parameters included here override any corresponding parameter defaults from the job definition.- Returns:
this
-
parameters
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder parameters(IResolvable parameters) Sets the value ofCfnPipePropsMixin.PipeTargetBatchJobParametersProperty.getParameters()- Parameters:
parameters- Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job definition. Parameters are specified as a key and value pair mapping. Parameters included here override any corresponding parameter defaults from the job definition.- Returns:
this
-
retryStrategy
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder retryStrategy(IResolvable retryStrategy) - Parameters:
retryStrategy- The retry strategy to use for failed jobs. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition.- Returns:
this
-
retryStrategy
@Stability(Stable) public CfnPipePropsMixin.PipeTargetBatchJobParametersProperty.Builder retryStrategy(CfnPipePropsMixin.BatchRetryStrategyProperty retryStrategy) - Parameters:
retryStrategy- The retry strategy to use for failed jobs. When a retry strategy is specified here, it overrides the retry strategy defined in the job definition.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetBatchJobParametersProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeTargetBatchJobParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-