Class WorkflowProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.WorkflowProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkflowProps>
- Enclosing interface:
WorkflowProps
@Stability(Experimental)
public static final class WorkflowProps.Builder
extends Object
implements software.amazon.jsii.Builder<WorkflowProps>
A builder for
WorkflowProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultRunProperties(Map<String, String> defaultRunProperties) Sets the value ofWorkflowProps.getDefaultRunProperties()description(String description) Sets the value ofWorkflowProps.getDescription()maxConcurrentRuns(Number maxConcurrentRuns) Sets the value ofWorkflowProps.getMaxConcurrentRuns()workflowName(String workflowName) Sets the value ofWorkflowProps.getWorkflowName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultRunProperties
@Stability(Experimental) public WorkflowProps.Builder defaultRunProperties(Map<String, String> defaultRunProperties) Sets the value ofWorkflowProps.getDefaultRunProperties()- Parameters:
defaultRunProperties- A map of properties to use when this workflow is executed.- Returns:
this
-
description
Sets the value ofWorkflowProps.getDescription()- Parameters:
description- A description of the workflow.- Returns:
this
-
maxConcurrentRuns
Sets the value ofWorkflowProps.getMaxConcurrentRuns()- Parameters:
maxConcurrentRuns- The maximum number of concurrent runs allowed for the workflow.- Returns:
this
-
workflowName
Sets the value ofWorkflowProps.getWorkflowName()- Parameters:
workflowName- Name of the workflow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkflowProps>- Returns:
- a new instance of
WorkflowProps - Throws:
NullPointerException- if any required attribute was not provided
-