Interface FlowConnection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowConnection.Builder,
,FlowConnection> SdkBuilder<FlowConnection.Builder,
,FlowConnection> SdkPojo
- Enclosing class:
FlowConnection
@Mutable
@NotThreadSafe
public static interface FlowConnection.Builder
extends SdkPojo, CopyableBuilder<FlowConnection.Builder,FlowConnection>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FlowConnection.Builder
configuration
(Consumer<FlowConnectionConfiguration.Builder> configuration) The configuration of the connection.configuration
(FlowConnectionConfiguration configuration) The configuration of the connection.A name for the connection that you can reference.The node that the connection starts at.The node that the connection ends at.Whether the source node that the connection begins from is a condition node (Conditional
) or not (Data
).type
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.Builder
avoiding the need to create one manually viaFlowConnectionConfiguration.builder()
.When the
Consumer
completes,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:
-
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
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
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
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:
-
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:
-