Class CfnFlow.FlowNodeOutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.FlowNodeOutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.FlowNodeOutputProperty>
- Enclosing interface:
CfnFlow.FlowNodeOutputProperty
@Stability(Stable)
public static final class CfnFlow.FlowNodeOutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.FlowNodeOutputProperty>
A builder for
CfnFlow.FlowNodeOutputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlow.FlowNodeOutputProperty.getName()Sets the value ofCfnFlow.FlowNodeOutputProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFlow.FlowNodeOutputProperty.getName()- Parameters:
name- A name for the output that you can reference. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnFlow.FlowNodeOutputProperty.getType()- Parameters:
type- The data type of the output. This parameter is required. If the output doesn't match this type at runtime, a validation error will be thrown.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlow.FlowNodeOutputProperty>- Returns:
- a new instance of
CfnFlow.FlowNodeOutputProperty - Throws:
NullPointerException- if any required attribute was not provided
-