Class CfnFlowVersion.FlowConnectionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.FlowConnectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.FlowConnectionProperty>
- Enclosing interface:
CfnFlowVersion.FlowConnectionProperty
@Stability(Stable)
public static final class CfnFlowVersion.FlowConnectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.FlowConnectionProperty>
A builder for
CfnFlowVersion.FlowConnectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(IResolvable configuration) Sets the value ofCfnFlowVersion.FlowConnectionProperty.getConfiguration()configuration(CfnFlowVersion.FlowConnectionConfigurationProperty configuration) Sets the value ofCfnFlowVersion.FlowConnectionProperty.getConfiguration()Sets the value ofCfnFlowVersion.FlowConnectionProperty.getName()Sets the value ofCfnFlowVersion.FlowConnectionProperty.getSource()Sets the value ofCfnFlowVersion.FlowConnectionProperty.getTarget()Sets the value ofCfnFlowVersion.FlowConnectionProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFlowVersion.FlowConnectionProperty.getName()- Parameters:
name- A name for the connection that you can reference. This parameter is required.- Returns:
this
-
source
Sets the value ofCfnFlowVersion.FlowConnectionProperty.getSource()- Parameters:
source- The node that the connection starts at. This parameter is required.- Returns:
this
-
target
Sets the value ofCfnFlowVersion.FlowConnectionProperty.getTarget()- Parameters:
target- The node that the connection ends at. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnFlowVersion.FlowConnectionProperty.getType()- Parameters:
type- Whether the source node that the connection begins from is a condition node (Conditional) or not (Data). This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public CfnFlowVersion.FlowConnectionProperty.Builder configuration(IResolvable configuration) Sets the value ofCfnFlowVersion.FlowConnectionProperty.getConfiguration()- Parameters:
configuration- The configuration of the connection.- Returns:
this
-
configuration
@Stability(Stable) public CfnFlowVersion.FlowConnectionProperty.Builder configuration(CfnFlowVersion.FlowConnectionConfigurationProperty configuration) Sets the value ofCfnFlowVersion.FlowConnectionProperty.getConfiguration()- Parameters:
configuration- The configuration of the connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.FlowConnectionProperty>- Returns:
- a new instance of
CfnFlowVersion.FlowConnectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-