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