Class CfnFlow.FlowDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.FlowDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.FlowDefinitionProperty>
- Enclosing interface:
CfnFlow.FlowDefinitionProperty
@Stability(Stable)
public static final class CfnFlow.FlowDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.FlowDefinitionProperty>
A builder for
CfnFlow.FlowDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connections(List<? extends Object> connections) Sets the value ofCfnFlow.FlowDefinitionProperty.getConnections()connections(IResolvable connections) Sets the value ofCfnFlow.FlowDefinitionProperty.getConnections()Sets the value ofCfnFlow.FlowDefinitionProperty.getNodes()nodes(IResolvable nodes) Sets the value ofCfnFlow.FlowDefinitionProperty.getNodes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connections
@Stability(Stable) public CfnFlow.FlowDefinitionProperty.Builder connections(IResolvable connections) Sets the value ofCfnFlow.FlowDefinitionProperty.getConnections()- Parameters:
connections- An array of connection definitions in the flow.- Returns:
this
-
connections
@Stability(Stable) public CfnFlow.FlowDefinitionProperty.Builder connections(List<? extends Object> connections) Sets the value ofCfnFlow.FlowDefinitionProperty.getConnections()- Parameters:
connections- An array of connection definitions in the flow.- Returns:
this
-
nodes
Sets the value ofCfnFlow.FlowDefinitionProperty.getNodes()- Parameters:
nodes- An array of node definitions in the flow.- Returns:
this
-
nodes
@Stability(Stable) public CfnFlow.FlowDefinitionProperty.Builder nodes(List<? extends Object> nodes) Sets the value ofCfnFlow.FlowDefinitionProperty.getNodes()- Parameters:
nodes- An array of node definitions in the flow.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlow.FlowDefinitionProperty>- Returns:
- a new instance of
CfnFlow.FlowDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-