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 feeding this flow.build()
static CfnBridgeSource.Builder
flowSource
(IResolvable flowSource) The source of the flow.flowSource
(CfnBridgeSource.BridgeFlowSourceProperty flowSource) The source of the flow.The name of the flow source.networkSource
(IResolvable networkSource) The source of the network.networkSource
(CfnBridgeSource.BridgeNetworkSourceProperty networkSource) The source of the network.
-
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 feeding this flow.- Parameters:
bridgeArn
- The ARN of the bridge feeding this flow. 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
The source of the flow.- Parameters:
flowSource
- The source of the flow. This parameter is required.- Returns:
this
- See Also:
-
flowSource
@Stability(Stable) public CfnBridgeSource.Builder flowSource(CfnBridgeSource.BridgeFlowSourceProperty flowSource) The source of the flow.- Parameters:
flowSource
- The source of the flow. This parameter is required.- Returns:
this
- See Also:
-
networkSource
The source of the network.- Parameters:
networkSource
- The source of the network. This parameter is required.- Returns:
this
- See Also:
-
networkSource
@Stability(Stable) public CfnBridgeSource.Builder networkSource(CfnBridgeSource.BridgeNetworkSourceProperty networkSource) The source of the network.- Parameters:
networkSource
- The source of the network. 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
.
-