Class CfnBridgeSource.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnBridgeSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBridgeSource>
- Enclosing class:
CfnBridgeSource
@Stability(Stable)
public static final class CfnBridgeSource.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBridgeSource>
A fluent builder for
CfnBridgeSource
.-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the bridge that you want to describe.build()
static CfnBridgeSource.Builder
flowSource
(IResolvable flowSource) Add a flow source to an existing bridge.flowSource
(CfnBridgeSource.BridgeFlowSourceProperty flowSource) Add a flow source to an existing bridge.The name of the flow source.networkSource
(IResolvable networkSource) Add a network source to an existing bridge.networkSource
(CfnBridgeSource.BridgeNetworkSourceProperty networkSource) Add a network source to an existing bridge.
-
Method Details
-
create
@Stability(Stable) public static CfnBridgeSource.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBridgeSource.Builder
.
-
bridgeArn
The ARN of the bridge that you want to describe.- Parameters:
bridgeArn
- The ARN of the bridge that you want to describe. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the flow source.This name is used to reference the source and must be unique among sources in this bridge.
- Parameters:
name
- The name of the flow source. This parameter is required.- Returns:
this
- See Also:
-
flowSource
Add a flow source to an existing bridge.- Parameters:
flowSource
- Add a flow source to an existing bridge. This parameter is required.- Returns:
this
- See Also:
-
flowSource
@Stability(Stable) public CfnBridgeSource.Builder flowSource(CfnBridgeSource.BridgeFlowSourceProperty flowSource) Add a flow source to an existing bridge.- Parameters:
flowSource
- Add a flow source to an existing bridge. This parameter is required.- Returns:
this
- See Also:
-
networkSource
Add a network source to an existing bridge.- Parameters:
networkSource
- Add a network source to an existing bridge. This parameter is required.- Returns:
this
- See Also:
-
networkSource
@Stability(Stable) public CfnBridgeSource.Builder networkSource(CfnBridgeSource.BridgeNetworkSourceProperty networkSource) Add a network source to an existing bridge.- Parameters:
networkSource
- Add a network source to an existing bridge. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBridgeSource>
- Returns:
- a newly built instance of
CfnBridgeSource
.
-