Class CfnImagePipeline.WorkflowConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnImagePipeline.WorkflowConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImagePipeline.WorkflowConfigurationProperty>
- Enclosing interface:
CfnImagePipeline.WorkflowConfigurationProperty
@Stability(Stable)
public static final class CfnImagePipeline.WorkflowConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImagePipeline.WorkflowConfigurationProperty>
A builder for
CfnImagePipeline.WorkflowConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getOnFailure()
parallelGroup
(String parallelGroup) Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getParallelGroup()
parameters
(List<? extends Object> parameters) Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getParameters()
workflowArn
(String workflowArn) Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getWorkflowArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
onFailure
@Stability(Stable) public CfnImagePipeline.WorkflowConfigurationProperty.Builder onFailure(String onFailure) Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getOnFailure()
- Parameters:
onFailure
- The action to take if the workflow fails.- Returns:
this
-
parallelGroup
@Stability(Stable) public CfnImagePipeline.WorkflowConfigurationProperty.Builder parallelGroup(String parallelGroup) Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getParallelGroup()
- 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 CfnImagePipeline.WorkflowConfigurationProperty.Builder parameters(IResolvable parameters) Sets the value ofCfnImagePipeline.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 CfnImagePipeline.WorkflowConfigurationProperty.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnImagePipeline.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 CfnImagePipeline.WorkflowConfigurationProperty.Builder workflowArn(String workflowArn) Sets the value ofCfnImagePipeline.WorkflowConfigurationProperty.getWorkflowArn()
- Parameters:
workflowArn
- The Amazon Resource Name (ARN) of the workflow resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnImagePipeline.WorkflowConfigurationProperty>
- Returns:
- a new instance of
CfnImagePipeline.WorkflowConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-