Class WorkflowAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.WorkflowAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkflowAttributes>
- Enclosing interface:
WorkflowAttributes
@Stability(Experimental)
public static final class WorkflowAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<WorkflowAttributes>
A builder for
WorkflowAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.workflowArn(String workflowArn) Sets the value ofWorkflowAttributes.getWorkflowArn()workflowName(String workflowName) Sets the value ofWorkflowAttributes.getWorkflowName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workflowName
Sets the value ofWorkflowAttributes.getWorkflowName()- Parameters:
workflowName- The name of the workflow to import. This parameter is required.- Returns:
this
-
workflowArn
Sets the value ofWorkflowAttributes.getWorkflowArn()- Parameters:
workflowArn- The ARN of the workflow to import.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkflowAttributes>- Returns:
- a new instance of
WorkflowAttributes - Throws:
NullPointerException- if any required attribute was not provided
-