Class CfnFlow.FlowDataConnectionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.FlowDataConnectionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.FlowDataConnectionConfigurationProperty>
- Enclosing interface:
CfnFlow.FlowDataConnectionConfigurationProperty
@Stability(Stable)
public static final class CfnFlow.FlowDataConnectionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.FlowDataConnectionConfigurationProperty>
A builder for
CfnFlow.FlowDataConnectionConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sourceOutput
(String sourceOutput) Sets the value ofCfnFlow.FlowDataConnectionConfigurationProperty.getSourceOutput()
targetInput
(String targetInput) Sets the value ofCfnFlow.FlowDataConnectionConfigurationProperty.getTargetInput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceOutput
@Stability(Stable) public CfnFlow.FlowDataConnectionConfigurationProperty.Builder sourceOutput(String sourceOutput) Sets the value ofCfnFlow.FlowDataConnectionConfigurationProperty.getSourceOutput()
- Parameters:
sourceOutput
- The name of the output in the source node that the connection begins from. This parameter is required.- Returns:
this
-
targetInput
@Stability(Stable) public CfnFlow.FlowDataConnectionConfigurationProperty.Builder targetInput(String targetInput) Sets the value ofCfnFlow.FlowDataConnectionConfigurationProperty.getTargetInput()
- Parameters:
targetInput
- The name of the input in the target node that the connection ends at. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.FlowDataConnectionConfigurationProperty>
- Returns:
- a new instance of
CfnFlow.FlowDataConnectionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-