Interface FlowDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowDefinition.Builder,
,FlowDefinition> SdkBuilder<FlowDefinition.Builder,
,FlowDefinition> SdkPojo
- Enclosing class:
FlowDefinition
@Mutable
@NotThreadSafe
public static interface FlowDefinition.Builder
extends SdkPojo, CopyableBuilder<FlowDefinition.Builder,FlowDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionconnections
(Collection<FlowConnection> connections) An array of connection definitions in the flow.connections
(Consumer<FlowConnection.Builder>... connections) An array of connection definitions in the flow.connections
(FlowConnection... connections) An array of connection definitions in the flow.nodes
(Collection<FlowNode> nodes) An array of node definitions in the flow.nodes
(Consumer<FlowNode.Builder>... nodes) An array of node definitions in the flow.An array of node definitions in the flow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connections
An array of connection definitions in the flow.
- Parameters:
connections
- An array of connection definitions in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
An array of connection definitions in the flow.
- Parameters:
connections
- An array of connection definitions in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
An array of connection definitions in the flow.
This is a convenience method that creates an instance of theFlowConnection.Builder
avoiding the need to create one manually viaFlowConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnections(List<FlowConnection>)
.- Parameters:
connections
- a consumer that will call methods onFlowConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodes
An array of node definitions in the flow.
- Parameters:
nodes
- An array of node definitions in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of node definitions in the flow.
- Parameters:
nodes
- An array of node definitions in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodes
An array of node definitions in the flow.
This is a convenience method that creates an instance of theFlowNode.Builder
avoiding the need to create one manually viaFlowNode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonodes(List<FlowNode>)
.- Parameters:
nodes
- a consumer that will call methods onFlowNode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-