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