Interface FlowConnection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FlowConnection.Builder,FlowConnection>,SdkBuilder<FlowConnection.Builder,FlowConnection>,SdkPojo
- Enclosing class:
- FlowConnection
public static interface FlowConnection.Builder extends SdkPojo, CopyableBuilder<FlowConnection.Builder,FlowConnection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FlowConnection.Builderconfiguration(Consumer<FlowConnectionConfiguration.Builder> configuration)The configuration of the connection.FlowConnection.Builderconfiguration(FlowConnectionConfiguration configuration)The configuration of the connection.FlowConnection.Buildername(String name)A name for the connection that you can reference.FlowConnection.Buildersource(String source)The node that the connection starts at.FlowConnection.Buildertarget(String target)The node that the connection ends at.FlowConnection.Buildertype(String type)Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).FlowConnection.Buildertype(FlowConnectionType type)Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).-
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
-
configuration
FlowConnection.Builder configuration(FlowConnectionConfiguration configuration)
The configuration of the connection.
- Parameters:
configuration- The configuration of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default FlowConnection.Builder configuration(Consumer<FlowConnectionConfiguration.Builder> configuration)
The configuration of the connection.
This is a convenience method that creates an instance of theFlowConnectionConfiguration.Builderavoiding the need to create one manually viaFlowConnectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(FlowConnectionConfiguration).- Parameters:
configuration- a consumer that will call methods onFlowConnectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(FlowConnectionConfiguration)
-
name
FlowConnection.Builder name(String name)
A name for the connection that you can reference.
- Parameters:
name- A name for the connection that you can reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
FlowConnection.Builder source(String source)
The node that the connection starts at.
- Parameters:
source- The node that the connection starts at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
FlowConnection.Builder target(String target)
The node that the connection ends at.
- Parameters:
target- The node that the connection ends at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
FlowConnection.Builder type(String type)
Whether the source node that the connection begins from is a condition node (
Conditional) or not (Data).- Parameters:
type- Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowConnectionType,FlowConnectionType
-
type
FlowConnection.Builder type(FlowConnectionType type)
Whether the source node that the connection begins from is a condition node (
Conditional) or not (Data).- Parameters:
type- Whether the source node that the connection begins from is a condition node (Conditional) or not (Data).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowConnectionType,FlowConnectionType
-
-