Class CfnFlow.EncodingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlow.EncodingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.EncodingConfigProperty>
- Enclosing interface:
CfnFlow.EncodingConfigProperty
@Stability(Stable)
public static final class CfnFlow.EncodingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.EncodingConfigProperty>
A builder for
CfnFlow.EncodingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encodingProfile(String encodingProfile) Sets the value ofCfnFlow.EncodingConfigProperty.getEncodingProfile()videoMaxBitrate(Number videoMaxBitrate) Sets the value ofCfnFlow.EncodingConfigProperty.getVideoMaxBitrate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encodingProfile
@Stability(Stable) public CfnFlow.EncodingConfigProperty.Builder encodingProfile(String encodingProfile) Sets the value ofCfnFlow.EncodingConfigProperty.getEncodingProfile()- Parameters:
encodingProfile- The encoding profile to use when transcoding the NDI source to a Transport Stream. You can change this value while a flow is running.- Returns:
this
-
videoMaxBitrate
@Stability(Stable) public CfnFlow.EncodingConfigProperty.Builder videoMaxBitrate(Number videoMaxBitrate) Sets the value ofCfnFlow.EncodingConfigProperty.getVideoMaxBitrate()- Parameters:
videoMaxBitrate- The maximum video bitrate to use when transcoding the NDI source to a Transport Stream. This parameter enables you to override the default video bitrate within the encoding profile's supported range. The supported range is 10,000,000 - 50,000,000 bits per second (bps). If you do not specify a value, MediaConnect uses the default value of 20,000,000 bps.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlow.EncodingConfigProperty>- Returns:
- a new instance of
CfnFlow.EncodingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-