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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BridgeSource.BuilderflowSource(Consumer<BridgeFlowSource.Builder> flowSource)Sets the value of the FlowSource property for this object.BridgeSource.BuilderflowSource(BridgeFlowSource flowSource)Sets the value of the FlowSource property for this object.default BridgeSource.BuildernetworkSource(Consumer<BridgeNetworkSource.Builder> networkSource)Sets the value of the NetworkSource property for this object.BridgeSource.BuildernetworkSource(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 Detail
-
flowSource
BridgeSource.Builder flowSource(BridgeFlowSource 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
default BridgeSource.Builder flowSource(Consumer<BridgeFlowSource.Builder> flowSource)
Sets the value of the FlowSource property for this object. 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:
flowSource(BridgeFlowSource)
-
networkSource
BridgeSource.Builder networkSource(BridgeNetworkSource 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
default BridgeSource.Builder networkSource(Consumer<BridgeNetworkSource.Builder> networkSource)
Sets the value of the NetworkSource property for this object. 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:
networkSource(BridgeNetworkSource)
-
-