Class CfnWorkflowMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.transfer.CfnWorkflowMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowMixinProps>
- Enclosing interface:
CfnWorkflowMixinProps
@Stability(Stable)
public static final class CfnWorkflowMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowMixinProps>
A builder for
CfnWorkflowMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWorkflowMixinProps.getDescription()onExceptionSteps(List<? extends Object> onExceptionSteps) Sets the value ofCfnWorkflowMixinProps.getOnExceptionSteps()onExceptionSteps(IResolvable onExceptionSteps) Sets the value ofCfnWorkflowMixinProps.getOnExceptionSteps()Sets the value ofCfnWorkflowMixinProps.getSteps()steps(IResolvable steps) Sets the value ofCfnWorkflowMixinProps.getSteps()Sets the value ofCfnWorkflowMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnWorkflowMixinProps.getDescription()- Parameters:
description- Specifies the text description for the workflow.- Returns:
this
-
onExceptionSteps
@Stability(Stable) public CfnWorkflowMixinProps.Builder onExceptionSteps(IResolvable onExceptionSteps) Sets the value ofCfnWorkflowMixinProps.getOnExceptionSteps()- Parameters:
onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Returns:
this
-
onExceptionSteps
@Stability(Stable) public CfnWorkflowMixinProps.Builder onExceptionSteps(List<? extends Object> onExceptionSteps) Sets the value ofCfnWorkflowMixinProps.getOnExceptionSteps()- Parameters:
onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Returns:
this
-
steps
Sets the value ofCfnWorkflowMixinProps.getSteps()- Parameters:
steps- Specifies the details for the steps that are in the specified workflow.- Returns:
this
-
steps
Sets the value ofCfnWorkflowMixinProps.getSteps()- Parameters:
steps- Specifies the details for the steps that are in the specified workflow.- Returns:
this
-
tags
Sets the value ofCfnWorkflowMixinProps.getTags()- Parameters:
tags- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflowMixinProps>- Returns:
- a new instance of
CfnWorkflowMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-