Class FecOutputSettings.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.FecOutputSettings.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FecOutputSettings>
- Enclosing interface:
FecOutputSettings
@Stability(Experimental)
public static final class FecOutputSettings.Builder
extends Object
implements software.amazon.jsii.Builder<FecOutputSettings>
A builder for
FecOutputSettings-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columnDepth(Number columnDepth) Sets the value ofFecOutputSettings.getColumnDepth()Sets the value ofFecOutputSettings.getMode()Sets the value ofFecOutputSettings.getRowLength()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnDepth
Sets the value ofFecOutputSettings.getColumnDepth()- Parameters:
columnDepth- Parameter D from SMPTE 2022-1 — the height of the FEC protection matrix (number of transport stream packets per column error-correction packet). Must be 4..20.- Returns:
this
-
mode
Sets the value ofFecOutputSettings.getMode()- Parameters:
mode- Whether to enable column-only or column-and-row FEC.- Returns:
this
-
rowLength
Sets the value ofFecOutputSettings.getRowLength()- Parameters:
rowLength- Parameter L from SMPTE 2022-1 — the width of the FEC protection matrix. Must be 1..20 for column-only FEC, or 4..20 for column-and-row FEC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FecOutputSettings>- Returns:
- a new instance of
FecOutputSettings - Throws:
NullPointerException- if any required attribute was not provided
-