Class CfnWorkflow.WorkflowParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.omics.CfnWorkflow.WorkflowParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.WorkflowParameterProperty>
- Enclosing interface:
- CfnWorkflow.WorkflowParameterProperty
@Stability(Stable)
public static final class CfnWorkflow.WorkflowParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.WorkflowParameterProperty>
A builder for
CfnWorkflow.WorkflowParameterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnWorkflow.WorkflowParameterProperty.getDescription()
Sets the value ofCfnWorkflow.WorkflowParameterProperty.getOptional()
optional
(IResolvable optional) Sets the value ofCfnWorkflow.WorkflowParameterProperty.getOptional()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnWorkflow.WorkflowParameterProperty.Builder description(String description) Sets the value ofCfnWorkflow.WorkflowParameterProperty.getDescription()
- Parameters:
description
- The parameter's description.- Returns:
this
-
optional
Sets the value ofCfnWorkflow.WorkflowParameterProperty.getOptional()
- Parameters:
optional
- Whether the parameter is optional.- Returns:
this
-
optional
@Stability(Stable) public CfnWorkflow.WorkflowParameterProperty.Builder optional(IResolvable optional) Sets the value ofCfnWorkflow.WorkflowParameterProperty.getOptional()
- Parameters:
optional
- Whether the parameter is optional.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflow.WorkflowParameterProperty>
- Returns:
- a new instance of
CfnWorkflow.WorkflowParameterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-