Class EncodingConfig.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.EncodingConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EncodingConfig>
- Enclosing interface:
EncodingConfig
@Stability(Experimental)
public static final class EncodingConfig.Builder
extends Object
implements software.amazon.jsii.Builder<EncodingConfig>
A builder for
EncodingConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encodingProfile(EncodingProfile encodingProfile) Sets the value ofEncodingConfig.getEncodingProfile()videoMaxBitrate(Bitrate videoMaxBitrate) Sets the value ofEncodingConfig.getVideoMaxBitrate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encodingProfile
@Stability(Experimental) public EncodingConfig.Builder encodingProfile(EncodingProfile encodingProfile) Sets the value ofEncodingConfig.getEncodingProfile()- Parameters:
encodingProfile- The encoding profile to use when transcoding the NDI source content to a transport stream. You can change this value while the flow is running.- Returns:
this
-
videoMaxBitrate
Sets the value ofEncodingConfig.getVideoMaxBitrate()- Parameters:
videoMaxBitrate- The maximum video bitrate to use when transcoding the NDI source to a transport stream. The supported range is 10 Mbps – 50 Mbps.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EncodingConfig>- Returns:
- a new instance of
EncodingConfig - Throws:
NullPointerException- if any required attribute was not provided
-