Class CfnFlow.FlowConnectionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.FlowConnectionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.FlowConnectionConfigurationProperty>
- Enclosing interface:
CfnFlow.FlowConnectionConfigurationProperty
@Stability(Stable)
public static final class CfnFlow.FlowConnectionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.FlowConnectionConfigurationProperty>
A builder for
CfnFlow.FlowConnectionConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.conditional
(IResolvable conditional) Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getConditional()
Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getConditional()
data
(IResolvable data) Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getData()
Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditional
@Stability(Stable) public CfnFlow.FlowConnectionConfigurationProperty.Builder conditional(IResolvable conditional) Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getConditional()
- Parameters:
conditional
- The configuration of a connection originating from a Condition node.- Returns:
this
-
conditional
@Stability(Stable) public CfnFlow.FlowConnectionConfigurationProperty.Builder conditional(CfnFlow.FlowConditionalConnectionConfigurationProperty conditional) Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getConditional()
- Parameters:
conditional
- The configuration of a connection originating from a Condition node.- Returns:
this
-
data
@Stability(Stable) public CfnFlow.FlowConnectionConfigurationProperty.Builder data(IResolvable data) Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getData()
- Parameters:
data
- The configuration of a connection originating from a node that isn't a Condition node.- Returns:
this
-
data
@Stability(Stable) public CfnFlow.FlowConnectionConfigurationProperty.Builder data(CfnFlow.FlowDataConnectionConfigurationProperty data) Sets the value ofCfnFlow.FlowConnectionConfigurationProperty.getData()
- Parameters:
data
- The configuration of a connection originating from a node that isn't a Condition node.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.FlowConnectionConfigurationProperty>
- Returns:
- a new instance of
CfnFlow.FlowConnectionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-