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