Class M3u8SettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.M3u8SettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<M3u8SettingsProps>
- Enclosing interface:
M3u8SettingsProps
@Stability(Experimental)
public static final class M3u8SettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<M3u8SettingsProps>
A builder for
M3u8SettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudioFramesPerPes(Number audioFramesPerPes) Sets the value ofM3u8SettingsProps.getAudioFramesPerPes()Sets the value ofM3u8SettingsProps.getAudioPids()build()Builds the configured instance.klvBehavior(M3u8KlvBehavior klvBehavior) Sets the value ofM3u8SettingsProps.getKlvBehavior()klvDataPids(String klvDataPids) Sets the value ofM3u8SettingsProps.getKlvDataPids()nielsenId3Behavior(M3u8NielsenId3Behavior nielsenId3Behavior) Sets the value ofM3u8SettingsProps.getNielsenId3Behavior()patInterval(Duration patInterval) Sets the value ofM3u8SettingsProps.getPatInterval()pcrControl(M3u8PcrControl pcrControl) Sets the value ofM3u8SettingsProps.getPcrControl()Sets the value ofM3u8SettingsProps.getPcrPeriod()Sets the value ofM3u8SettingsProps.getPcrPid()pmtInterval(Duration pmtInterval) Sets the value ofM3u8SettingsProps.getPmtInterval()Sets the value ofM3u8SettingsProps.getPmtPid()programNum(Number programNum) Sets the value ofM3u8SettingsProps.getProgramNum()scte35Behavior(M3u8Scte35Behavior scte35Behavior) Sets the value ofM3u8SettingsProps.getScte35Behavior()Sets the value ofM3u8SettingsProps.getScte35Pid()timedMetadataBehavior(M3u8TimedMetadataBehavior timedMetadataBehavior) Sets the value ofM3u8SettingsProps.getTimedMetadataBehavior()timedMetadataPid(String timedMetadataPid) Sets the value ofM3u8SettingsProps.getTimedMetadataPid()transportStreamId(Number transportStreamId) Sets the value ofM3u8SettingsProps.getTransportStreamId()Sets the value ofM3u8SettingsProps.getVideoPid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioFramesPerPes
@Stability(Experimental) public M3u8SettingsProps.Builder audioFramesPerPes(Number audioFramesPerPes) Sets the value ofM3u8SettingsProps.getAudioFramesPerPes()- Parameters:
audioFramesPerPes- The number of audio frames to insert for each PES packet.- Returns:
this
-
audioPids
Sets the value ofM3u8SettingsProps.getAudioPids()- Parameters:
audioPids- The PID(s) of the elementary audio streams. Accepts ranges and comma separation.- Returns:
this
-
klvBehavior
Sets the value ofM3u8SettingsProps.getKlvBehavior()- Parameters:
klvBehavior- KLV data passthrough behavior.- Returns:
this
-
klvDataPids
Sets the value ofM3u8SettingsProps.getKlvDataPids()- Parameters:
klvDataPids- The PID(s) of the KLV data streams.- Returns:
this
-
nielsenId3Behavior
@Stability(Experimental) public M3u8SettingsProps.Builder nielsenId3Behavior(M3u8NielsenId3Behavior nielsenId3Behavior) Sets the value ofM3u8SettingsProps.getNielsenId3Behavior()- Parameters:
nielsenId3Behavior- Nielsen ID3 passthrough behavior.- Returns:
this
-
patInterval
Sets the value ofM3u8SettingsProps.getPatInterval()- Parameters:
patInterval- The interval between instances of the PAT in the output. A value of 0 writes the PAT once per segment file.- Returns:
this
-
pcrControl
Sets the value ofM3u8SettingsProps.getPcrControl()- Parameters:
pcrControl- Controls insertion of the Program Clock Reference (PCR).- Returns:
this
-
pcrPeriod
Sets the value ofM3u8SettingsProps.getPcrPeriod()- Parameters:
pcrPeriod- The maximum interval between Program Clock References (PCRs).- Returns:
this
-
pcrPid
Sets the value ofM3u8SettingsProps.getPcrPid()- Parameters:
pcrPid- The PID of the Program Clock Reference (PCR). Defaults to the video PID.- Returns:
this
-
pmtInterval
Sets the value ofM3u8SettingsProps.getPmtInterval()- Parameters:
pmtInterval- The interval between instances of the PMT in the output. A value of 0 writes the PMT once per segment file.- Returns:
this
-
pmtPid
Sets the value ofM3u8SettingsProps.getPmtPid()- Parameters:
pmtPid- The PID of the Program Map Table (PMT).- Returns:
this
-
programNum
Sets the value ofM3u8SettingsProps.getProgramNum()- Parameters:
programNum- The value of the program number field in the PMT.- Returns:
this
-
scte35Behavior
@Stability(Experimental) public M3u8SettingsProps.Builder scte35Behavior(M3u8Scte35Behavior scte35Behavior) Sets the value ofM3u8SettingsProps.getScte35Behavior()- Parameters:
scte35Behavior- SCTE-35 passthrough behavior.- Returns:
this
-
scte35Pid
Sets the value ofM3u8SettingsProps.getScte35Pid()- Parameters:
scte35Pid- The PID of the SCTE-35 stream.- Returns:
this
-
timedMetadataBehavior
@Stability(Experimental) public M3u8SettingsProps.Builder timedMetadataBehavior(M3u8TimedMetadataBehavior timedMetadataBehavior) Sets the value ofM3u8SettingsProps.getTimedMetadataBehavior()- Parameters:
timedMetadataBehavior- Timed-metadata passthrough behavior.- Returns:
this
-
timedMetadataPid
Sets the value ofM3u8SettingsProps.getTimedMetadataPid()- Parameters:
timedMetadataPid- The PID of the timed-metadata stream. Valid values are 32 (0x20)..8182 (0x1ff6).- Returns:
this
-
transportStreamId
@Stability(Experimental) public M3u8SettingsProps.Builder transportStreamId(Number transportStreamId) Sets the value ofM3u8SettingsProps.getTransportStreamId()- Parameters:
transportStreamId- The value of the transport stream ID field in the PMT.- Returns:
this
-
videoPid
Sets the value ofM3u8SettingsProps.getVideoPid()- Parameters:
videoPid- The PID of the elementary video stream.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<M3u8SettingsProps>- Returns:
- a new instance of
M3u8SettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-