Class CfnChannel.M3u8SettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.M3u8SettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.M3u8SettingsProperty>
- Enclosing interface:
CfnChannel.M3u8SettingsProperty
@Stability(Stable)
public static final class CfnChannel.M3u8SettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.M3u8SettingsProperty>
A builder for
CfnChannel.M3u8SettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaudioFramesPerPes
(Number audioFramesPerPes) Sets the value ofCfnChannel.M3u8SettingsProperty.getAudioFramesPerPes()
Sets the value ofCfnChannel.M3u8SettingsProperty.getAudioPids()
build()
Builds the configured instance.Sets the value ofCfnChannel.M3u8SettingsProperty.getEcmPid()
klvBehavior
(String klvBehavior) Sets the value ofCfnChannel.M3u8SettingsProperty.getKlvBehavior()
klvDataPids
(String klvDataPids) Sets the value ofCfnChannel.M3u8SettingsProperty.getKlvDataPids()
nielsenId3Behavior
(String nielsenId3Behavior) Sets the value ofCfnChannel.M3u8SettingsProperty.getNielsenId3Behavior()
patInterval
(Number patInterval) Sets the value ofCfnChannel.M3u8SettingsProperty.getPatInterval()
pcrControl
(String pcrControl) Sets the value ofCfnChannel.M3u8SettingsProperty.getPcrControl()
Sets the value ofCfnChannel.M3u8SettingsProperty.getPcrPeriod()
Sets the value ofCfnChannel.M3u8SettingsProperty.getPcrPid()
pmtInterval
(Number pmtInterval) Sets the value ofCfnChannel.M3u8SettingsProperty.getPmtInterval()
Sets the value ofCfnChannel.M3u8SettingsProperty.getPmtPid()
programNum
(Number programNum) Sets the value ofCfnChannel.M3u8SettingsProperty.getProgramNum()
scte35Behavior
(String scte35Behavior) Sets the value ofCfnChannel.M3u8SettingsProperty.getScte35Behavior()
Sets the value ofCfnChannel.M3u8SettingsProperty.getScte35Pid()
timedMetadataBehavior
(String timedMetadataBehavior) Sets the value ofCfnChannel.M3u8SettingsProperty.getTimedMetadataBehavior()
timedMetadataPid
(String timedMetadataPid) Sets the value ofCfnChannel.M3u8SettingsProperty.getTimedMetadataPid()
transportStreamId
(Number transportStreamId) Sets the value ofCfnChannel.M3u8SettingsProperty.getTransportStreamId()
Sets the value ofCfnChannel.M3u8SettingsProperty.getVideoPid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioFramesPerPes
@Stability(Stable) public CfnChannel.M3u8SettingsProperty.Builder audioFramesPerPes(Number audioFramesPerPes) Sets the value ofCfnChannel.M3u8SettingsProperty.getAudioFramesPerPes()
- Parameters:
audioFramesPerPes
- The number of audio frames to insert for each PES packet.- Returns:
this
-
audioPids
Sets the value ofCfnChannel.M3u8SettingsProperty.getAudioPids()
- Parameters:
audioPids
- The PID of the elementary audio streams in the transport stream. Multiple values are accepted, and can be entered in ranges or by comma separation. You can enter the value as a decimal or hexadecimal value.- Returns:
this
-
ecmPid
Sets the value ofCfnChannel.M3u8SettingsProperty.getEcmPid()
- Parameters:
ecmPid
- This parameter is unused and deprecated.- Returns:
this
-
klvBehavior
Sets the value ofCfnChannel.M3u8SettingsProperty.getKlvBehavior()
- Parameters:
klvBehavior
- the value to be set.- Returns:
this
-
klvDataPids
Sets the value ofCfnChannel.M3u8SettingsProperty.getKlvDataPids()
- Parameters:
klvDataPids
- the value to be set.- Returns:
this
-
nielsenId3Behavior
@Stability(Stable) public CfnChannel.M3u8SettingsProperty.Builder nielsenId3Behavior(String nielsenId3Behavior) Sets the value ofCfnChannel.M3u8SettingsProperty.getNielsenId3Behavior()
- Parameters:
nielsenId3Behavior
- If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.- Returns:
this
-
patInterval
Sets the value ofCfnChannel.M3u8SettingsProperty.getPatInterval()
- Parameters:
patInterval
- The number of milliseconds between instances of this table in the output transport stream. A value of "0" writes out the PMT once per segment file.- Returns:
this
-
pcrControl
Sets the value ofCfnChannel.M3u8SettingsProperty.getPcrControl()
- Parameters:
pcrControl
- When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.- Returns:
this
-
pcrPeriod
Sets the value ofCfnChannel.M3u8SettingsProperty.getPcrPeriod()
- Parameters:
pcrPeriod
- The maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.- Returns:
this
-
pcrPid
Sets the value ofCfnChannel.M3u8SettingsProperty.getPcrPid()
- Parameters:
pcrPid
- The PID of the Program Clock Reference (PCR) in the transport stream. When no value is given, MediaLive assigns the same value as the video PID. You can enter the value as a decimal or hexadecimal value.- Returns:
this
-
pmtInterval
Sets the value ofCfnChannel.M3u8SettingsProperty.getPmtInterval()
- Parameters:
pmtInterval
- The number of milliseconds between instances of this table in the output transport stream. A value of "0" writes out the PMT once per segment file.- Returns:
this
-
pmtPid
Sets the value ofCfnChannel.M3u8SettingsProperty.getPmtPid()
- Parameters:
pmtPid
- The PID for the Program Map Table (PMT) in the transport stream. You can enter the value as a decimal or hexadecimal value.- Returns:
this
-
programNum
Sets the value ofCfnChannel.M3u8SettingsProperty.getProgramNum()
- Parameters:
programNum
- The value of the program number field in the Program Map Table (PMT).- Returns:
this
-
scte35Behavior
@Stability(Stable) public CfnChannel.M3u8SettingsProperty.Builder scte35Behavior(String scte35Behavior) Sets the value ofCfnChannel.M3u8SettingsProperty.getScte35Behavior()
- Parameters:
scte35Behavior
- If set to passthrough, passes any SCTE-35 signals from the input source to this output.- Returns:
this
-
scte35Pid
Sets the value ofCfnChannel.M3u8SettingsProperty.getScte35Pid()
- Parameters:
scte35Pid
- The PID of the SCTE-35 stream in the transport stream. You can enter the value as a decimal or hexadecimal value.- Returns:
this
-
timedMetadataBehavior
@Stability(Stable) public CfnChannel.M3u8SettingsProperty.Builder timedMetadataBehavior(String timedMetadataBehavior) Sets the value ofCfnChannel.M3u8SettingsProperty.getTimedMetadataBehavior()
- Parameters:
timedMetadataBehavior
- When set to passthrough, timed metadata is passed through from input to output.- Returns:
this
-
timedMetadataPid
@Stability(Stable) public CfnChannel.M3u8SettingsProperty.Builder timedMetadataPid(String timedMetadataPid) Sets the value ofCfnChannel.M3u8SettingsProperty.getTimedMetadataPid()
- Parameters:
timedMetadataPid
- The PID of the timed metadata stream in the transport stream. You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
transportStreamId
@Stability(Stable) public CfnChannel.M3u8SettingsProperty.Builder transportStreamId(Number transportStreamId) Sets the value ofCfnChannel.M3u8SettingsProperty.getTransportStreamId()
- Parameters:
transportStreamId
- The value of the transport stream ID field in the Program Map Table (PMT).- Returns:
this
-
videoPid
Sets the value ofCfnChannel.M3u8SettingsProperty.getVideoPid()
- Parameters:
videoPid
- The PID of the elementary video stream in the transport stream. You can enter the value as a decimal or hexadecimal value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.M3u8SettingsProperty>
- Returns:
- a new instance of
CfnChannel.M3u8SettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-