Class CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.imagebuilder.CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePipelinePropsMixin.WorkflowConfigurationProperty>
- Enclosing interface:
CfnImagePipelinePropsMixin.WorkflowConfigurationProperty
@Stability(Stable)
public static final class CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePipelinePropsMixin.WorkflowConfigurationProperty>
A builder for
CfnImagePipelinePropsMixin.WorkflowConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnImagePipelinePropsMixin.WorkflowConfigurationProperty.getOnFailure()parallelGroup(String parallelGroup) parameters(List<? extends Object> parameters) Sets the value ofCfnImagePipelinePropsMixin.WorkflowConfigurationProperty.getParameters()parameters(IResolvable parameters) Sets the value ofCfnImagePipelinePropsMixin.WorkflowConfigurationProperty.getParameters()workflowArn(String workflowArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
onFailure
@Stability(Stable) public CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder onFailure(String onFailure) Sets the value ofCfnImagePipelinePropsMixin.WorkflowConfigurationProperty.getOnFailure()- Parameters:
onFailure- The action to take if the workflow fails.- Returns:
this
-
parallelGroup
@Stability(Stable) public CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder parallelGroup(String parallelGroup) - Parameters:
parallelGroup- Test workflows are defined within named runtime groups called parallel groups. The parallel group is the named group that contains this test workflow. Test workflows within a parallel group can run at the same time. Image Builder starts up to five test workflows in the group at the same time, and starts additional workflows as others complete, until all workflows in the group have completed. This field only applies for test workflows.- Returns:
this
-
parameters
@Stability(Stable) public CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder parameters(IResolvable parameters) Sets the value ofCfnImagePipelinePropsMixin.WorkflowConfigurationProperty.getParameters()- Parameters:
parameters- Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.- Returns:
this
-
parameters
@Stability(Stable) public CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnImagePipelinePropsMixin.WorkflowConfigurationProperty.getParameters()- Parameters:
parameters- Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.- Returns:
this
-
workflowArn
@Stability(Stable) public CfnImagePipelinePropsMixin.WorkflowConfigurationProperty.Builder workflowArn(String workflowArn) - Parameters:
workflowArn- The Amazon Resource Name (ARN) of the workflow resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImagePipelinePropsMixin.WorkflowConfigurationProperty>- Returns:
- a new instance of
CfnImagePipelinePropsMixin.WorkflowConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-