Class CfnBridgeSourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnBridgeSourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBridgeSourceProps>
- Enclosing interface:
CfnBridgeSourceProps
@Stability(Stable)
public static final class CfnBridgeSourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBridgeSourceProps>
A builder for
CfnBridgeSourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBridgeSourceProps.getBridgeArn()build()Builds the configured instance.flowSource(IResolvable flowSource) Sets the value ofCfnBridgeSourceProps.getFlowSource()flowSource(CfnBridgeSource.BridgeFlowSourceProperty flowSource) Sets the value ofCfnBridgeSourceProps.getFlowSource()Sets the value ofCfnBridgeSourceProps.getName()networkSource(IResolvable networkSource) Sets the value ofCfnBridgeSourceProps.getNetworkSource()networkSource(CfnBridgeSource.BridgeNetworkSourceProperty networkSource) Sets the value ofCfnBridgeSourceProps.getNetworkSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bridgeArn
Sets the value ofCfnBridgeSourceProps.getBridgeArn()- Parameters:
bridgeArn- The ARN of the bridge feeding this flow. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnBridgeSourceProps.getName()- Parameters:
name- The name of the flow source. This parameter is required. This name is used to reference the source and must be unique among sources in this bridge.- Returns:
this
-
flowSource
Sets the value ofCfnBridgeSourceProps.getFlowSource()- Parameters:
flowSource- The source of the flow.- Returns:
this
-
flowSource
@Stability(Stable) public CfnBridgeSourceProps.Builder flowSource(CfnBridgeSource.BridgeFlowSourceProperty flowSource) Sets the value ofCfnBridgeSourceProps.getFlowSource()- Parameters:
flowSource- The source of the flow.- Returns:
this
-
networkSource
Sets the value ofCfnBridgeSourceProps.getNetworkSource()- Parameters:
networkSource- The source of the network.- Returns:
this
-
networkSource
@Stability(Stable) public CfnBridgeSourceProps.Builder networkSource(CfnBridgeSource.BridgeNetworkSourceProperty networkSource) Sets the value ofCfnBridgeSourceProps.getNetworkSource()- Parameters:
networkSource- The source of the network.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBridgeSourceProps>- Returns:
- a new instance of
CfnBridgeSourceProps - Throws:
NullPointerException- if any required attribute was not provided
-