Class CfnFlowPropsMixin.EncodingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowPropsMixin.EncodingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.EncodingConfigProperty>
- Enclosing interface:
CfnFlowPropsMixin.EncodingConfigProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.EncodingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.EncodingConfigProperty>
A builder for
CfnFlowPropsMixin.EncodingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encodingProfile(String encodingProfile) Sets the value ofCfnFlowPropsMixin.EncodingConfigProperty.getEncodingProfile()videoMaxBitrate(Number videoMaxBitrate) Sets the value ofCfnFlowPropsMixin.EncodingConfigProperty.getVideoMaxBitrate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encodingProfile
@Stability(Stable) public CfnFlowPropsMixin.EncodingConfigProperty.Builder encodingProfile(String encodingProfile) Sets the value ofCfnFlowPropsMixin.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 CfnFlowPropsMixin.EncodingConfigProperty.Builder videoMaxBitrate(Number videoMaxBitrate) Sets the value ofCfnFlowPropsMixin.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<CfnFlowPropsMixin.EncodingConfigProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.EncodingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-