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
-
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 that you want to describe. 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
- Add a flow source to an existing bridge.- Returns:
this
-
flowSource
@Stability(Stable) public CfnBridgeSourceProps.Builder flowSource(CfnBridgeSource.BridgeFlowSourceProperty flowSource) Sets the value ofCfnBridgeSourceProps.getFlowSource()
- Parameters:
flowSource
- Add a flow source to an existing bridge.- Returns:
this
-
networkSource
Sets the value ofCfnBridgeSourceProps.getNetworkSource()
- Parameters:
networkSource
- Add a network source to an existing bridge.- Returns:
this
-
networkSource
@Stability(Stable) public CfnBridgeSourceProps.Builder networkSource(CfnBridgeSource.BridgeNetworkSourceProperty networkSource) Sets the value ofCfnBridgeSourceProps.getNetworkSource()
- Parameters:
networkSource
- Add a network source to an existing bridge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBridgeSourceProps>
- Returns:
- a new instance of
CfnBridgeSourceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-