Class CfnBridge.BridgeSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnBridge.BridgeSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBridge.BridgeSourceProperty>
- Enclosing interface:
CfnBridge.BridgeSourceProperty
@Stability(Stable)
public static final class CfnBridge.BridgeSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBridge.BridgeSourceProperty>
A builder for
CfnBridge.BridgeSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.flowSource
(IResolvable flowSource) Sets the value ofCfnBridge.BridgeSourceProperty.getFlowSource()
flowSource
(CfnBridge.BridgeFlowSourceProperty flowSource) Sets the value ofCfnBridge.BridgeSourceProperty.getFlowSource()
networkSource
(IResolvable networkSource) Sets the value ofCfnBridge.BridgeSourceProperty.getNetworkSource()
networkSource
(CfnBridge.BridgeNetworkSourceProperty networkSource) Sets the value ofCfnBridge.BridgeSourceProperty.getNetworkSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowSource
Sets the value ofCfnBridge.BridgeSourceProperty.getFlowSource()
- Parameters:
flowSource
- The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.- Returns:
this
-
flowSource
@Stability(Stable) public CfnBridge.BridgeSourceProperty.Builder flowSource(CfnBridge.BridgeFlowSourceProperty flowSource) Sets the value ofCfnBridge.BridgeSourceProperty.getFlowSource()
- Parameters:
flowSource
- The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.- Returns:
this
-
networkSource
@Stability(Stable) public CfnBridge.BridgeSourceProperty.Builder networkSource(IResolvable networkSource) Sets the value ofCfnBridge.BridgeSourceProperty.getNetworkSource()
- Parameters:
networkSource
- The source of the bridge. A network source originates at your premises.- Returns:
this
-
networkSource
@Stability(Stable) public CfnBridge.BridgeSourceProperty.Builder networkSource(CfnBridge.BridgeNetworkSourceProperty networkSource) Sets the value ofCfnBridge.BridgeSourceProperty.getNetworkSource()
- Parameters:
networkSource
- The source of the bridge. A network source originates at your premises.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBridge.BridgeSourceProperty>
- Returns:
- a new instance of
CfnBridge.BridgeSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-