Class CfnWorkflow.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnWorkflow.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow>
- Enclosing class:
CfnWorkflow
@Stability(Stable)
public static final class CfnWorkflow.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow>
A fluent builder for
CfnWorkflow
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnWorkflow.Builder
description
(String description) Specifies the text description for the workflow.onExceptionSteps
(List<? extends Object> onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.onExceptionSteps
(IResolvable onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.Specifies the details for the steps that are in the specified workflow.steps
(IResolvable steps) Specifies the details for the steps that are in the specified workflow.Key-value pairs that can be used to group and search for workflows.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkflow.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkflow.Builder
.
-
steps
Specifies the details for the steps that are in the specified workflow.- Parameters:
steps
- Specifies the details for the steps that are in the specified workflow. This parameter is required.- Returns:
this
- See Also:
-
steps
Specifies the details for the steps that are in the specified workflow.- Parameters:
steps
- Specifies the details for the steps that are in the specified workflow. This parameter is required.- Returns:
this
- See Also:
-
description
Specifies the text description for the workflow.- Parameters:
description
- Specifies the text description for the workflow. This parameter is required.- Returns:
this
- See Also:
-
onExceptionSteps
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Parameters:
onExceptionSteps
- Specifies the steps (actions) to take if errors are encountered during execution of the workflow. This parameter is required.- Returns:
this
- See Also:
-
onExceptionSteps
@Stability(Stable) public CfnWorkflow.Builder onExceptionSteps(List<? extends Object> onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Parameters:
onExceptionSteps
- Specifies the steps (actions) to take if errors are encountered during execution of the workflow. This parameter is required.- Returns:
this
- See Also:
-
tags
Key-value pairs that can be used to group and search for workflows.Tags are metadata attached to workflows for any purpose.
- Parameters:
tags
- Key-value pairs that can be used to group and search for workflows. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflow>
- Returns:
- a newly built instance of
CfnWorkflow
.
-