Class CfnChannel.FecOutputSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.FecOutputSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.FecOutputSettingsProperty>
- Enclosing interface:
CfnChannel.FecOutputSettingsProperty
@Stability(Stable)
public static final class CfnChannel.FecOutputSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.FecOutputSettingsProperty>
A builder for
CfnChannel.FecOutputSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columnDepth
(Number columnDepth) Sets the value ofCfnChannel.FecOutputSettingsProperty.getColumnDepth()
includeFec
(String includeFec) Sets the value ofCfnChannel.FecOutputSettingsProperty.getIncludeFec()
Sets the value ofCfnChannel.FecOutputSettingsProperty.getRowLength()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnDepth
@Stability(Stable) public CfnChannel.FecOutputSettingsProperty.Builder columnDepth(Number columnDepth) Sets the value ofCfnChannel.FecOutputSettingsProperty.getColumnDepth()
- Parameters:
columnDepth
- The parameter D from SMPTE 2022-1. The height of the FEC protection matrix. The number of transport stream packets per column error correction packet. The number must be between 4 and 20, inclusive.- Returns:
this
-
includeFec
@Stability(Stable) public CfnChannel.FecOutputSettingsProperty.Builder includeFec(String includeFec) Sets the value ofCfnChannel.FecOutputSettingsProperty.getIncludeFec()
- Parameters:
includeFec
- Enables column only or column and row-based FEC.- Returns:
this
-
rowLength
Sets the value ofCfnChannel.FecOutputSettingsProperty.getRowLength()
- Parameters:
rowLength
- The parameter L from SMPTE 2022-1. The width of the FEC protection matrix. Must be between 1 and 20, inclusive. If only Column FEC is used, then larger values increase robustness. If Row FEC is used, then this is the number of transport stream packets per row error correction packet, and the value must be between 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, this value must be 1 to 20, inclusive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.FecOutputSettingsProperty>
- Returns:
- a new instance of
CfnChannel.FecOutputSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-