Class EgressBridgeConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.EgressBridgeConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EgressBridgeConfiguration>
- Enclosing interface:
EgressBridgeConfiguration
@Stability(Experimental)
public static final class EgressBridgeConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<EgressBridgeConfiguration>
A builder for
EgressBridgeConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.flowSources(List<? extends BridgeFlowInput> flowSources) Sets the value ofEgressBridgeConfiguration.getFlowSources()maxBitrate(Bitrate maxBitrate) Sets the value ofEgressBridgeConfiguration.getMaxBitrate()networkOutputs(List<? extends BridgeNetworkOutput> networkOutputs) Sets the value ofEgressBridgeConfiguration.getNetworkOutputs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flowSources
@Stability(Experimental) public EgressBridgeConfiguration.Builder flowSources(List<? extends BridgeFlowInput> flowSources) Sets the value ofEgressBridgeConfiguration.getFlowSources()- Parameters:
flowSources- The flow sources for the egress bridge. This parameter is required.- Returns:
this
-
maxBitrate
Sets the value ofEgressBridgeConfiguration.getMaxBitrate()- Parameters:
maxBitrate- The maximum expected bitrate (in bps) of the bridge. This parameter is required.- Returns:
this
-
networkOutputs
@Stability(Experimental) public EgressBridgeConfiguration.Builder networkOutputs(List<? extends BridgeNetworkOutput> networkOutputs) Sets the value ofEgressBridgeConfiguration.getNetworkOutputs()- Parameters:
networkOutputs- The network outputs for the egress bridge. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EgressBridgeConfiguration>- Returns:
- a new instance of
EgressBridgeConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-