Class M2tsSettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.M2tsSettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<M2tsSettingsProps>
- Enclosing interface:
M2tsSettingsProps
@Stability(Experimental)
public static final class M2tsSettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<M2tsSettingsProps>
A builder for
M2tsSettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabsentInputAudioBehavior(M2tsAbsentInputAudioBehavior absentInputAudioBehavior) Sets the value ofM2tsSettingsProps.getAbsentInputAudioBehavior()Sets the value ofM2tsSettingsProps.getArib()aribCaptionsPid(String aribCaptionsPid) Sets the value ofM2tsSettingsProps.getAribCaptionsPid()aribCaptionsPidControl(M2tsAribCaptionsPidControl aribCaptionsPidControl) Sets the value ofM2tsSettingsProps.getAribCaptionsPidControl()audioBufferModel(M2tsAudioBufferModel audioBufferModel) Sets the value ofM2tsSettingsProps.getAudioBufferModel()audioFramesPerPes(Number audioFramesPerPes) Sets the value ofM2tsSettingsProps.getAudioFramesPerPes()Sets the value ofM2tsSettingsProps.getAudioPids()audioStreamType(M2tsAudioStreamType audioStreamType) Sets the value ofM2tsSettingsProps.getAudioStreamType()Sets the value ofM2tsSettingsProps.getBitrate()bufferModel(M2tsBufferModel bufferModel) Sets the value ofM2tsSettingsProps.getBufferModel()build()Builds the configured instance.ccDescriptor(M2tsCcDescriptor ccDescriptor) Sets the value ofM2tsSettingsProps.getCcDescriptor()dvbNitSettings(DvbNitSettings dvbNitSettings) Sets the value ofM2tsSettingsProps.getDvbNitSettings()dvbSdtSettings(DvbSdtSettings dvbSdtSettings) Sets the value ofM2tsSettingsProps.getDvbSdtSettings()dvbSubPids(String dvbSubPids) Sets the value ofM2tsSettingsProps.getDvbSubPids()dvbTdtSettings(DvbTdtSettings dvbTdtSettings) Sets the value ofM2tsSettingsProps.getDvbTdtSettings()dvbTeletextPid(String dvbTeletextPid) Sets the value ofM2tsSettingsProps.getDvbTeletextPid()Sets the value ofM2tsSettingsProps.getEbif()ebpAudioInterval(M2tsEbpAudioInterval ebpAudioInterval) Sets the value ofM2tsSettingsProps.getEbpAudioInterval()ebpLookahead(Duration ebpLookahead) Sets the value ofM2tsSettingsProps.getEbpLookahead()ebpPlacement(M2tsEbpPlacement ebpPlacement) Sets the value ofM2tsSettingsProps.getEbpPlacement()esRateInPes(M2tsEsRateInPes esRateInPes) Sets the value ofM2tsSettingsProps.getEsRateInPes()etvPlatformPid(String etvPlatformPid) Sets the value ofM2tsSettingsProps.getEtvPlatformPid()etvSignalPid(String etvSignalPid) Sets the value ofM2tsSettingsProps.getEtvSignalPid()fragmentTime(Duration fragmentTime) Sets the value ofM2tsSettingsProps.getFragmentTime()Sets the value ofM2tsSettingsProps.getKlv()klvDataPids(String klvDataPids) Sets the value ofM2tsSettingsProps.getKlvDataPids()nielsenId3Behavior(M2tsNielsenId3Behavior nielsenId3Behavior) Sets the value ofM2tsSettingsProps.getNielsenId3Behavior()nullPacketBitrate(Bitrate nullPacketBitrate) Sets the value ofM2tsSettingsProps.getNullPacketBitrate()patInterval(Duration patInterval) Sets the value ofM2tsSettingsProps.getPatInterval()pcrControl(M2tsPcrControl pcrControl) Sets the value ofM2tsSettingsProps.getPcrControl()Sets the value ofM2tsSettingsProps.getPcrPeriod()Sets the value ofM2tsSettingsProps.getPcrPid()pmtInterval(Duration pmtInterval) Sets the value ofM2tsSettingsProps.getPmtInterval()Sets the value ofM2tsSettingsProps.getPmtPid()programNum(Number programNum) Sets the value ofM2tsSettingsProps.getProgramNum()rateMode(M2tsRateMode rateMode) Sets the value ofM2tsSettingsProps.getRateMode()scte27Pids(String scte27Pids) Sets the value ofM2tsSettingsProps.getScte27Pids()scte35Control(M2tsScte35Control scte35Control) Sets the value ofM2tsSettingsProps.getScte35Control()Sets the value ofM2tsSettingsProps.getScte35Pid()scte35PrerollPullup(Duration scte35PrerollPullup) Sets the value ofM2tsSettingsProps.getScte35PrerollPullup()segmentationMarkers(M2tsSegmentationMarkers segmentationMarkers) Sets the value ofM2tsSettingsProps.getSegmentationMarkers()segmentationStyle(M2tsSegmentationStyle segmentationStyle) Sets the value ofM2tsSettingsProps.getSegmentationStyle()segmentationTime(Duration segmentationTime) Sets the value ofM2tsSettingsProps.getSegmentationTime()timedMetadataBehavior(M2tsTimedMetadataBehavior timedMetadataBehavior) Sets the value ofM2tsSettingsProps.getTimedMetadataBehavior()timedMetadataPid(String timedMetadataPid) Sets the value ofM2tsSettingsProps.getTimedMetadataPid()transportStreamId(Number transportStreamId) Sets the value ofM2tsSettingsProps.getTransportStreamId()Sets the value ofM2tsSettingsProps.getVideoPid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
absentInputAudioBehavior
@Stability(Experimental) public M2tsSettingsProps.Builder absentInputAudioBehavior(M2tsAbsentInputAudioBehavior absentInputAudioBehavior) Sets the value ofM2tsSettingsProps.getAbsentInputAudioBehavior()- Parameters:
absentInputAudioBehavior- Behavior when the selected input audio stream is removed.- Returns:
this
-
arib
Sets the value ofM2tsSettingsProps.getArib()- Parameters:
arib- ARIB-compliant field muxing.- Returns:
this
-
aribCaptionsPid
Sets the value ofM2tsSettingsProps.getAribCaptionsPid()- Parameters:
aribCaptionsPid- The PID for ARIB Captions.- Returns:
this
-
aribCaptionsPidControl
@Stability(Experimental) public M2tsSettingsProps.Builder aribCaptionsPidControl(M2tsAribCaptionsPidControl aribCaptionsPidControl) Sets the value ofM2tsSettingsProps.getAribCaptionsPidControl()- Parameters:
aribCaptionsPidControl- How the ARIB Captions PID is selected.- Returns:
this
-
audioBufferModel
@Stability(Experimental) public M2tsSettingsProps.Builder audioBufferModel(M2tsAudioBufferModel audioBufferModel) Sets the value ofM2tsSettingsProps.getAudioBufferModel()- Parameters:
audioBufferModel- The buffer model for Dolby Digital audio.- Returns:
this
-
audioFramesPerPes
@Stability(Experimental) public M2tsSettingsProps.Builder audioFramesPerPes(Number audioFramesPerPes) Sets the value ofM2tsSettingsProps.getAudioFramesPerPes()- Parameters:
audioFramesPerPes- The number of audio frames to insert per PES packet.- Returns:
this
-
audioPids
Sets the value ofM2tsSettingsProps.getAudioPids()- Parameters:
audioPids- The PID(s) of the elementary audio streams (ranges/comma-separated allowed).- Returns:
this
-
audioStreamType
@Stability(Experimental) public M2tsSettingsProps.Builder audioStreamType(M2tsAudioStreamType audioStreamType) Sets the value ofM2tsSettingsProps.getAudioStreamType()- Parameters:
audioStreamType- The stream type used for audio elementary streams.- Returns:
this
-
bitrate
Sets the value ofM2tsSettingsProps.getBitrate()- Parameters:
bitrate- The output bitrate of the transport stream. Set to 0 bps to let the muxer choose.- Returns:
this
-
bufferModel
Sets the value ofM2tsSettingsProps.getBufferModel()- Parameters:
bufferModel- The transport stream buffer model.- Returns:
this
-
ccDescriptor
@Stability(Experimental) public M2tsSettingsProps.Builder ccDescriptor(M2tsCcDescriptor ccDescriptor) Sets the value ofM2tsSettingsProps.getCcDescriptor()- Parameters:
ccDescriptor- Whether to generate the captionServiceDescriptor in the PMT.- Returns:
this
-
dvbNitSettings
@Stability(Experimental) public M2tsSettingsProps.Builder dvbNitSettings(DvbNitSettings dvbNitSettings) Sets the value ofM2tsSettingsProps.getDvbNitSettings()- Parameters:
dvbNitSettings- DVB Network Information Table (NIT) settings.- Returns:
this
-
dvbSdtSettings
@Stability(Experimental) public M2tsSettingsProps.Builder dvbSdtSettings(DvbSdtSettings dvbSdtSettings) Sets the value ofM2tsSettingsProps.getDvbSdtSettings()- Parameters:
dvbSdtSettings- DVB Service Description Table (SDT) settings.- Returns:
this
-
dvbSubPids
Sets the value ofM2tsSettingsProps.getDvbSubPids()- Parameters:
dvbSubPids- The PID(s) for input source DVB Subtitle data (ranges/comma-separated allowed).- Returns:
this
-
dvbTdtSettings
@Stability(Experimental) public M2tsSettingsProps.Builder dvbTdtSettings(DvbTdtSettings dvbTdtSettings) Sets the value ofM2tsSettingsProps.getDvbTdtSettings()- Parameters:
dvbTdtSettings- DVB Time and Date Table (TDT) settings.- Returns:
this
-
dvbTeletextPid
Sets the value ofM2tsSettingsProps.getDvbTeletextPid()- Parameters:
dvbTeletextPid- The PID for input source DVB Teletext data.- Returns:
this
-
ebif
Sets the value ofM2tsSettingsProps.getEbif()- Parameters:
ebif- EBIF data passthrough behavior.- Returns:
this
-
ebpAudioInterval
@Stability(Experimental) public M2tsSettingsProps.Builder ebpAudioInterval(M2tsEbpAudioInterval ebpAudioInterval) Sets the value ofM2tsSettingsProps.getEbpAudioInterval()- Parameters:
ebpAudioInterval- Placement of audio EBP markers.- Returns:
this
-
ebpLookahead
Sets the value ofM2tsSettingsProps.getEbpLookahead()- Parameters:
ebpLookahead- The EBP lookahead interval.- Returns:
this
-
ebpPlacement
@Stability(Experimental) public M2tsSettingsProps.Builder ebpPlacement(M2tsEbpPlacement ebpPlacement) Sets the value ofM2tsSettingsProps.getEbpPlacement()- Parameters:
ebpPlacement- Placement of EBP markers on audio PIDs.- Returns:
this
-
esRateInPes
Sets the value ofM2tsSettingsProps.getEsRateInPes()- Parameters:
esRateInPes- Whether to include the ES Rate field in the PES header.- Returns:
this
-
etvPlatformPid
Sets the value ofM2tsSettingsProps.getEtvPlatformPid()- Parameters:
etvPlatformPid- The PID for input source ETV Platform data.- Returns:
this
-
etvSignalPid
Sets the value ofM2tsSettingsProps.getEtvSignalPid()- Parameters:
etvSignalPid- The PID for input source ETV Signal data.- Returns:
this
-
fragmentTime
Sets the value ofM2tsSettingsProps.getFragmentTime()- Parameters:
fragmentTime- The length of each fragment (used only with EBP markers).- Returns:
this
-
klv
Sets the value ofM2tsSettingsProps.getKlv()- Parameters:
klv- KLV data passthrough behavior.- Returns:
this
-
klvDataPids
Sets the value ofM2tsSettingsProps.getKlvDataPids()- Parameters:
klvDataPids- The PID(s) for input source KLV data (ranges/comma-separated allowed).- Returns:
this
-
nielsenId3Behavior
@Stability(Experimental) public M2tsSettingsProps.Builder nielsenId3Behavior(M2tsNielsenId3Behavior nielsenId3Behavior) Sets the value ofM2tsSettingsProps.getNielsenId3Behavior()- Parameters:
nielsenId3Behavior- Nielsen ID3 passthrough behavior.- Returns:
this
-
nullPacketBitrate
@Stability(Experimental) public M2tsSettingsProps.Builder nullPacketBitrate(Bitrate nullPacketBitrate) Sets the value ofM2tsSettingsProps.getNullPacketBitrate()- Parameters:
nullPacketBitrate- The bitrate of extra null packets to insert into the transport stream.- Returns:
this
-
patInterval
Sets the value ofM2tsSettingsProps.getPatInterval()- Parameters:
patInterval- The interval between PAT instances (0, or 10ms..1000ms).- Returns:
this
-
pcrControl
Sets the value ofM2tsSettingsProps.getPcrControl()- Parameters:
pcrControl- Controls insertion of the Program Clock Reference (PCR).- Returns:
this
-
pcrPeriod
Sets the value ofM2tsSettingsProps.getPcrPeriod()- Parameters:
pcrPeriod- The maximum interval between Program Clock References (PCRs).- Returns:
this
-
pcrPid
Sets the value ofM2tsSettingsProps.getPcrPid()- Parameters:
pcrPid- The PID of the Program Clock Reference.- Returns:
this
-
pmtInterval
Sets the value ofM2tsSettingsProps.getPmtInterval()- Parameters:
pmtInterval- The interval between PMT instances (0, or 10ms..1000ms).- Returns:
this
-
pmtPid
Sets the value ofM2tsSettingsProps.getPmtPid()- Parameters:
pmtPid- The PID for the Program Map Table (PMT).- Returns:
this
-
programNum
Sets the value ofM2tsSettingsProps.getProgramNum()- Parameters:
programNum- The value of the program number field in the PMT.- Returns:
this
-
rateMode
Sets the value ofM2tsSettingsProps.getRateMode()- Parameters:
rateMode- The transport stream bitrate mode (CBR/VBR).- Returns:
this
-
scte27Pids
Sets the value ofM2tsSettingsProps.getScte27Pids()- Parameters:
scte27Pids- The PID(s) for input source SCTE-27 data (ranges/comma-separated allowed).- Returns:
this
-
scte35Control
@Stability(Experimental) public M2tsSettingsProps.Builder scte35Control(M2tsScte35Control scte35Control) Sets the value ofM2tsSettingsProps.getScte35Control()- Parameters:
scte35Control- SCTE-35 passthrough behavior.- Returns:
this
-
scte35Pid
Sets the value ofM2tsSettingsProps.getScte35Pid()- Parameters:
scte35Pid- The PID of the SCTE-35 stream.- Returns:
this
-
scte35PrerollPullup
@Stability(Experimental) public M2tsSettingsProps.Builder scte35PrerollPullup(Duration scte35PrerollPullup) Sets the value ofM2tsSettingsProps.getScte35PrerollPullup()- Parameters:
scte35PrerollPullup- The SCTE-35 preroll pullup interval.- Returns:
this
-
segmentationMarkers
@Stability(Experimental) public M2tsSettingsProps.Builder segmentationMarkers(M2tsSegmentationMarkers segmentationMarkers) Sets the value ofM2tsSettingsProps.getSegmentationMarkers()- Parameters:
segmentationMarkers- The type of segmentation markers to insert.- Returns:
this
-
segmentationStyle
@Stability(Experimental) public M2tsSettingsProps.Builder segmentationStyle(M2tsSegmentationStyle segmentationStyle) Sets the value ofM2tsSettingsProps.getSegmentationStyle()- Parameters:
segmentationStyle- How segmentation markers respond to avails.- Returns:
this
-
segmentationTime
@Stability(Experimental) public M2tsSettingsProps.Builder segmentationTime(Duration segmentationTime) Sets the value ofM2tsSettingsProps.getSegmentationTime()- Parameters:
segmentationTime- The length of each segment (required unlesssegmentationMarkersis NONE).- Returns:
this
-
timedMetadataBehavior
@Stability(Experimental) public M2tsSettingsProps.Builder timedMetadataBehavior(M2tsTimedMetadataBehavior timedMetadataBehavior) Sets the value ofM2tsSettingsProps.getTimedMetadataBehavior()- Parameters:
timedMetadataBehavior- Timed metadata passthrough behavior.- Returns:
this
-
timedMetadataPid
Sets the value ofM2tsSettingsProps.getTimedMetadataPid()- Parameters:
timedMetadataPid- The PID of the timed metadata stream.- Returns:
this
-
transportStreamId
@Stability(Experimental) public M2tsSettingsProps.Builder transportStreamId(Number transportStreamId) Sets the value ofM2tsSettingsProps.getTransportStreamId()- Parameters:
transportStreamId- The value of the transport stream ID field in the PMT.- Returns:
this
-
videoPid
Sets the value ofM2tsSettingsProps.getVideoPid()- Parameters:
videoPid- The PID of the elementary video stream.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<M2tsSettingsProps>- Returns:
- a new instance of
M2tsSettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-