Class CfnFlowOutputPropsMixin.EncodingParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowOutputPropsMixin.EncodingParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowOutputPropsMixin.EncodingParametersProperty>
- Enclosing interface:
CfnFlowOutputPropsMixin.EncodingParametersProperty
@Stability(Stable)
public static final class CfnFlowOutputPropsMixin.EncodingParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowOutputPropsMixin.EncodingParametersProperty>
A builder for
CfnFlowOutputPropsMixin.EncodingParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.compressionFactor(Number compressionFactor) encoderProfile(String encoderProfile) Sets the value ofCfnFlowOutputPropsMixin.EncodingParametersProperty.getEncoderProfile()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
compressionFactor
@Stability(Stable) public CfnFlowOutputPropsMixin.EncodingParametersProperty.Builder compressionFactor(Number compressionFactor) - Parameters:
compressionFactor- A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.- Returns:
this
-
encoderProfile
@Stability(Stable) public CfnFlowOutputPropsMixin.EncodingParametersProperty.Builder encoderProfile(String encoderProfile) Sets the value ofCfnFlowOutputPropsMixin.EncodingParametersProperty.getEncoderProfile()- Parameters:
encoderProfile- A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowOutputPropsMixin.EncodingParametersProperty>- Returns:
- a new instance of
CfnFlowOutputPropsMixin.EncodingParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-