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