Class CfnWorkflowMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.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.defaultRunProperties(Object defaultRunProperties) Sets the value ofCfnWorkflowMixinProps.getDefaultRunProperties()description(String description) Sets the value ofCfnWorkflowMixinProps.getDescription()maxConcurrentRuns(Number maxConcurrentRuns) Sets the value ofCfnWorkflowMixinProps.getMaxConcurrentRuns()Sets the value ofCfnWorkflowMixinProps.getName()Sets the value ofCfnWorkflowMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultRunProperties
@Stability(Stable) public CfnWorkflowMixinProps.Builder defaultRunProperties(Object defaultRunProperties) Sets the value ofCfnWorkflowMixinProps.getDefaultRunProperties()- Parameters:
defaultRunProperties- A collection of properties to be used as part of each execution of the workflow.- Returns:
this
-
description
Sets the value ofCfnWorkflowMixinProps.getDescription()- Parameters:
description- A description of the workflow.- Returns:
this
-
maxConcurrentRuns
Sets the value ofCfnWorkflowMixinProps.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 ofCfnWorkflowMixinProps.getName()- Parameters:
name- The name of the workflow representing the flow.- Returns:
this
-
tags
Sets the value ofCfnWorkflowMixinProps.getTags()- Parameters:
tags- The tags to use with this workflow.- 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
-