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