Interface BridgeSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BridgeSource.Builder,,BridgeSource> SdkBuilder<BridgeSource.Builder,,BridgeSource> SdkPojo
- Enclosing class:
BridgeSource
@Mutable
@NotThreadSafe
public static interface BridgeSource.Builder
extends SdkPojo, CopyableBuilder<BridgeSource.Builder,BridgeSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BridgeSource.BuilderflowSource(Consumer<BridgeFlowSource.Builder> flowSource) The source of the associated flow.flowSource(BridgeFlowSource flowSource) The source of the associated flow.default BridgeSource.BuildernetworkSource(Consumer<BridgeNetworkSource.Builder> networkSource) The network source for the bridge.networkSource(BridgeNetworkSource networkSource) The network source for the bridge.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
flowSource
The source of the associated flow.
- Parameters:
flowSource- The source of the associated flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowSource
The source of the associated flow.
This is a convenience method that creates an instance of theBridgeFlowSource.Builderavoiding the need to create one manually viaBridgeFlowSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflowSource(BridgeFlowSource).- Parameters:
flowSource- a consumer that will call methods onBridgeFlowSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkSource
The network source for the bridge.
- Parameters:
networkSource- The network source for the bridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSource
The network source for the bridge.
This is a convenience method that creates an instance of theBridgeNetworkSource.Builderavoiding the need to create one manually viaBridgeNetworkSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkSource(BridgeNetworkSource).- Parameters:
networkSource- a consumer that will call methods onBridgeNetworkSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-