Class CfnWorkflowProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultRunProperties
(Object defaultRunProperties) Sets the value ofCfnWorkflowProps.getDefaultRunProperties()
description
(String description) Sets the value ofCfnWorkflowProps.getDescription()
maxConcurrentRuns
(Number maxConcurrentRuns) Sets the value ofCfnWorkflowProps.getMaxConcurrentRuns()
Sets the value ofCfnWorkflowProps.getName()
Sets the value ofCfnWorkflowProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultRunProperties
@Stability(Stable) public CfnWorkflowProps.Builder defaultRunProperties(Object defaultRunProperties) Sets the value ofCfnWorkflowProps.getDefaultRunProperties()
- Parameters:
defaultRunProperties
- A collection of properties to be used as part of each execution of the workflow.- Returns:
this
-
description
Sets the value ofCfnWorkflowProps.getDescription()
- Parameters:
description
- A description of the workflow.- Returns:
this
-
maxConcurrentRuns
Sets the value ofCfnWorkflowProps.getMaxConcurrentRuns()
- Parameters:
maxConcurrentRuns
- You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.- Returns:
this
-
name
Sets the value ofCfnWorkflowProps.getName()
- Parameters:
name
- The name of the workflow representing the flow.- Returns:
this
-
tags
Sets the value ofCfnWorkflowProps.getTags()
- Parameters:
tags
- The tags to use with this workflow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflowProps>
- Returns:
- a new instance of
CfnWorkflowProps
- Throws:
NullPointerException
- if any required attribute was not provided
-