Interface FlowDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FlowDefinition.Builder,FlowDefinition>,SdkBuilder<FlowDefinition.Builder,FlowDefinition>,SdkPojo
- Enclosing class:
- FlowDefinition
public static interface FlowDefinition.Builder extends SdkPojo, CopyableBuilder<FlowDefinition.Builder,FlowDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FlowDefinition.Builderconnections(Collection<FlowConnection> connections)An array of connection definitions in the flow.FlowDefinition.Builderconnections(Consumer<FlowConnection.Builder>... connections)An array of connection definitions in the flow.FlowDefinition.Builderconnections(FlowConnection... connections)An array of connection definitions in the flow.FlowDefinition.Buildernodes(Collection<FlowNode> nodes)An array of node definitions in the flow.FlowDefinition.Buildernodes(Consumer<FlowNode.Builder>... nodes)An array of node definitions in the flow.FlowDefinition.Buildernodes(FlowNode... nodes)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, sdkFields
-
-
-
-
Method Detail
-
connections
FlowDefinition.Builder connections(Collection<FlowConnection> 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
FlowDefinition.Builder connections(FlowConnection... 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
FlowDefinition.Builder connections(Consumer<FlowConnection.Builder>... connections)
An array of connection definitions in the flow.
This is a convenience method that creates an instance of theFlowConnection.Builderavoiding the need to create one manually viaFlowConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#connections(List.) - 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:
#connections(java.util.Collection)
-
nodes
FlowDefinition.Builder nodes(Collection<FlowNode> 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
FlowDefinition.Builder nodes(FlowNode... 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
FlowDefinition.Builder nodes(Consumer<FlowNode.Builder>... nodes)
An array of node definitions in the flow.
This is a convenience method that creates an instance of theFlowNode.Builderavoiding the need to create one manually viaFlowNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#nodes(List.) - 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:
#nodes(java.util.Collection)
-
-