Class CfnWorkflowProps.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnWorkflowProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowProps>
- Enclosing interface:
CfnWorkflowProps
@Stability(Stable)
public static final class CfnWorkflowProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowProps>
A builder for
CfnWorkflowProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWorkflowProps.getDescription()onExceptionSteps(List<? extends Object> onExceptionSteps) Sets the value ofCfnWorkflowProps.getOnExceptionSteps()onExceptionSteps(IResolvable onExceptionSteps) Sets the value ofCfnWorkflowProps.getOnExceptionSteps()Sets the value ofCfnWorkflowProps.getSteps()steps(IResolvable steps) Sets the value ofCfnWorkflowProps.getSteps()Sets the value ofCfnWorkflowProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
steps
Sets the value ofCfnWorkflowProps.getSteps()- Parameters:
steps- Specifies the details for the steps that are in the specified workflow. This parameter is required.- Returns:
this
-
steps
Sets the value ofCfnWorkflowProps.getSteps()- Parameters:
steps- Specifies the details for the steps that are in the specified workflow. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnWorkflowProps.getDescription()- Parameters:
description- Specifies the text description for the workflow.- Returns:
this
-
onExceptionSteps
Sets the value ofCfnWorkflowProps.getOnExceptionSteps()- Parameters:
onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Returns:
this
-
onExceptionSteps
@Stability(Stable) public CfnWorkflowProps.Builder onExceptionSteps(List<? extends Object> onExceptionSteps) Sets the value ofCfnWorkflowProps.getOnExceptionSteps()- Parameters:
onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Returns:
this
-
tags
Sets the value ofCfnWorkflowProps.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<CfnWorkflowProps>- Returns:
- a new instance of
CfnWorkflowProps - Throws:
NullPointerException- if any required attribute was not provided
-