Interface BridgeSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BridgeSource.Builder,
,BridgeSource> SdkBuilder<BridgeSource.Builder,
,BridgeSource> SdkPojo
- Enclosing class:
BridgeSource
public static interface BridgeSource.Builder
extends SdkPojo, CopyableBuilder<BridgeSource.Builder,BridgeSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BridgeSource.Builder
flowSource
(Consumer<BridgeFlowSource.Builder> flowSource) Sets the value of the FlowSource property for this object.flowSource
(BridgeFlowSource flowSource) Sets the value of the FlowSource property for this object.default BridgeSource.Builder
networkSource
(Consumer<BridgeNetworkSource.Builder> networkSource) Sets the value of the NetworkSource property for this object.networkSource
(BridgeNetworkSource networkSource) Sets the value of the NetworkSource property for this object.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 Details
-
flowSource
Sets the value of the FlowSource property for this object.- Parameters:
flowSource
- The new value for the FlowSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowSource
Sets the value of the FlowSource property for this object. This is a convenience method that creates an instance of theBridgeFlowSource.Builder
avoiding the need to create one manually viaBridgeFlowSource.builder()
.When the
Consumer
completes,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
Sets the value of the NetworkSource property for this object.- Parameters:
networkSource
- The new value for the NetworkSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSource
Sets the value of the NetworkSource property for this object. This is a convenience method that creates an instance of theBridgeNetworkSource.Builder
avoiding the need to create one manually viaBridgeNetworkSource.builder()
.When the
Consumer
completes,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:
-