Class CfnFlowVersion.FlowNodeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.FlowNodeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.FlowNodeProperty>
- Enclosing interface:
CfnFlowVersion.FlowNodeProperty
@Stability(Stable)
public static final class CfnFlowVersion.FlowNodeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.FlowNodeProperty>
A builder for
CfnFlowVersion.FlowNodeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnFlowVersion.FlowNodeProperty.getConfiguration()configuration(CfnFlowVersion.FlowNodeConfigurationProperty configuration) Sets the value ofCfnFlowVersion.FlowNodeProperty.getConfiguration()Sets the value ofCfnFlowVersion.FlowNodeProperty.getInputs()inputs(IResolvable inputs) Sets the value ofCfnFlowVersion.FlowNodeProperty.getInputs()Sets the value ofCfnFlowVersion.FlowNodeProperty.getName()Sets the value ofCfnFlowVersion.FlowNodeProperty.getOutputs()outputs(IResolvable outputs) Sets the value ofCfnFlowVersion.FlowNodeProperty.getOutputs()Sets the value ofCfnFlowVersion.FlowNodeProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFlowVersion.FlowNodeProperty.getName()- Parameters:
name- A name for the node. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnFlowVersion.FlowNodeProperty.getType()- Parameters:
type- The type of node. This parameter is required. This value must match the name of the key that you provide in the configuration you provide in theFlowNodeConfigurationfield.- Returns:
this
-
configuration
@Stability(Stable) public CfnFlowVersion.FlowNodeProperty.Builder configuration(IResolvable configuration) Sets the value ofCfnFlowVersion.FlowNodeProperty.getConfiguration()- Parameters:
configuration- Contains configurations for the node.- Returns:
this
-
configuration
@Stability(Stable) public CfnFlowVersion.FlowNodeProperty.Builder configuration(CfnFlowVersion.FlowNodeConfigurationProperty configuration) Sets the value ofCfnFlowVersion.FlowNodeProperty.getConfiguration()- Parameters:
configuration- Contains configurations for the node.- Returns:
this
-
inputs
Sets the value ofCfnFlowVersion.FlowNodeProperty.getInputs()- Parameters:
inputs- An array of objects, each of which contains information about an input into the node.- Returns:
this
-
inputs
@Stability(Stable) public CfnFlowVersion.FlowNodeProperty.Builder inputs(List<? extends Object> inputs) Sets the value ofCfnFlowVersion.FlowNodeProperty.getInputs()- Parameters:
inputs- An array of objects, each of which contains information about an input into the node.- Returns:
this
-
outputs
Sets the value ofCfnFlowVersion.FlowNodeProperty.getOutputs()- Parameters:
outputs- A list of objects, each of which contains information about an output from the node.- Returns:
this
-
outputs
@Stability(Stable) public CfnFlowVersion.FlowNodeProperty.Builder outputs(List<? extends Object> outputs) Sets the value ofCfnFlowVersion.FlowNodeProperty.getOutputs()- Parameters:
outputs- A list of objects, each of which contains information about an output from the node.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.FlowNodeProperty>- Returns:
- a new instance of
CfnFlowVersion.FlowNodeProperty - Throws:
NullPointerException- if any required attribute was not provided
-