Class WorkflowReference.Builder
java.lang.Object
software.amazon.awscdk.services.omics.WorkflowReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkflowReference>
- Enclosing interface:
WorkflowReference
@Stability(Stable)
public static final class WorkflowReference.Builder
extends Object
implements software.amazon.jsii.Builder<WorkflowReference>
A builder for
WorkflowReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.workflowArn
(String workflowArn) Sets the value ofWorkflowReference.getWorkflowArn()
workflowId
(String workflowId) Sets the value ofWorkflowReference.getWorkflowId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workflowArn
Sets the value ofWorkflowReference.getWorkflowArn()
- Parameters:
workflowArn
- The ARN of the Workflow resource. This parameter is required.- Returns:
this
-
workflowId
Sets the value ofWorkflowReference.getWorkflowId()
- Parameters:
workflowId
- The Id of the Workflow resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WorkflowReference>
- Returns:
- a new instance of
WorkflowReference
- Throws:
NullPointerException
- if any required attribute was not provided
-