Class CfnWorkflowDefinitionProps.Builder
java.lang.Object
software.amazon.awscdk.services.novaact.CfnWorkflowDefinitionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflowDefinitionProps>
- Enclosing interface:
CfnWorkflowDefinitionProps
@Stability(Stable)
public static final class CfnWorkflowDefinitionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflowDefinitionProps>
A builder for
CfnWorkflowDefinitionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnWorkflowDefinitionProps.getDescription()exportConfig(IResolvable exportConfig) Sets the value ofCfnWorkflowDefinitionProps.getExportConfig()Sets the value ofCfnWorkflowDefinitionProps.getExportConfig()Sets the value ofCfnWorkflowDefinitionProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnWorkflowDefinitionProps.getName()- Parameters:
name- The name of the workflow definition. This parameter is required. Must be unique within your account and region.- Returns:
this
-
description
Sets the value ofCfnWorkflowDefinitionProps.getDescription()- Parameters:
description- An optional description of the workflow definition's purpose and functionality.- Returns:
this
-
exportConfig
Sets the value ofCfnWorkflowDefinitionProps.getExportConfig()- Parameters:
exportConfig- Configuration settings for exporting workflow execution data and logs to Amazon S3.- Returns:
this
-
exportConfig
@Stability(Stable) public CfnWorkflowDefinitionProps.Builder exportConfig(CfnWorkflowDefinition.WorkflowExportConfigProperty exportConfig) Sets the value ofCfnWorkflowDefinitionProps.getExportConfig()- Parameters:
exportConfig- Configuration settings for exporting workflow execution data and logs to Amazon S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflowDefinitionProps>- Returns:
- a new instance of
CfnWorkflowDefinitionProps - Throws:
NullPointerException- if any required attribute was not provided
-