Class CfnChannel.M2tsSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.M2tsSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.M2tsSettingsProperty>
- Enclosing interface:
CfnChannel.M2tsSettingsProperty
@Stability(Stable)
public static final class CfnChannel.M2tsSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.M2tsSettingsProperty>
A builder for
CfnChannel.M2tsSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabsentInputAudioBehavior
(String absentInputAudioBehavior) Sets the value ofCfnChannel.M2tsSettingsProperty.getAbsentInputAudioBehavior()
Sets the value ofCfnChannel.M2tsSettingsProperty.getArib()
aribCaptionsPid
(String aribCaptionsPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getAribCaptionsPid()
aribCaptionsPidControl
(String aribCaptionsPidControl) Sets the value ofCfnChannel.M2tsSettingsProperty.getAribCaptionsPidControl()
audioBufferModel
(String audioBufferModel) Sets the value ofCfnChannel.M2tsSettingsProperty.getAudioBufferModel()
audioFramesPerPes
(Number audioFramesPerPes) Sets the value ofCfnChannel.M2tsSettingsProperty.getAudioFramesPerPes()
Sets the value ofCfnChannel.M2tsSettingsProperty.getAudioPids()
audioStreamType
(String audioStreamType) Sets the value ofCfnChannel.M2tsSettingsProperty.getAudioStreamType()
Sets the value ofCfnChannel.M2tsSettingsProperty.getBitrate()
bufferModel
(String bufferModel) Sets the value ofCfnChannel.M2tsSettingsProperty.getBufferModel()
build()
Builds the configured instance.ccDescriptor
(String ccDescriptor) Sets the value ofCfnChannel.M2tsSettingsProperty.getCcDescriptor()
dvbNitSettings
(IResolvable dvbNitSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbNitSettings()
dvbNitSettings
(CfnChannel.DvbNitSettingsProperty dvbNitSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbNitSettings()
dvbSdtSettings
(IResolvable dvbSdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbSdtSettings()
dvbSdtSettings
(CfnChannel.DvbSdtSettingsProperty dvbSdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbSdtSettings()
dvbSubPids
(String dvbSubPids) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbSubPids()
dvbTdtSettings
(IResolvable dvbTdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbTdtSettings()
dvbTdtSettings
(CfnChannel.DvbTdtSettingsProperty dvbTdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbTdtSettings()
dvbTeletextPid
(String dvbTeletextPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbTeletextPid()
Sets the value ofCfnChannel.M2tsSettingsProperty.getEbif()
ebpAudioInterval
(String ebpAudioInterval) Sets the value ofCfnChannel.M2tsSettingsProperty.getEbpAudioInterval()
ebpLookaheadMs
(Number ebpLookaheadMs) Sets the value ofCfnChannel.M2tsSettingsProperty.getEbpLookaheadMs()
ebpPlacement
(String ebpPlacement) Sets the value ofCfnChannel.M2tsSettingsProperty.getEbpPlacement()
Sets the value ofCfnChannel.M2tsSettingsProperty.getEcmPid()
esRateInPes
(String esRateInPes) Sets the value ofCfnChannel.M2tsSettingsProperty.getEsRateInPes()
etvPlatformPid
(String etvPlatformPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getEtvPlatformPid()
etvSignalPid
(String etvSignalPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getEtvSignalPid()
fragmentTime
(Number fragmentTime) Sets the value ofCfnChannel.M2tsSettingsProperty.getFragmentTime()
Sets the value ofCfnChannel.M2tsSettingsProperty.getKlv()
klvDataPids
(String klvDataPids) Sets the value ofCfnChannel.M2tsSettingsProperty.getKlvDataPids()
nielsenId3Behavior
(String nielsenId3Behavior) Sets the value ofCfnChannel.M2tsSettingsProperty.getNielsenId3Behavior()
nullPacketBitrate
(Number nullPacketBitrate) Sets the value ofCfnChannel.M2tsSettingsProperty.getNullPacketBitrate()
patInterval
(Number patInterval) Sets the value ofCfnChannel.M2tsSettingsProperty.getPatInterval()
pcrControl
(String pcrControl) Sets the value ofCfnChannel.M2tsSettingsProperty.getPcrControl()
Sets the value ofCfnChannel.M2tsSettingsProperty.getPcrPeriod()
Sets the value ofCfnChannel.M2tsSettingsProperty.getPcrPid()
pmtInterval
(Number pmtInterval) Sets the value ofCfnChannel.M2tsSettingsProperty.getPmtInterval()
Sets the value ofCfnChannel.M2tsSettingsProperty.getPmtPid()
programNum
(Number programNum) Sets the value ofCfnChannel.M2tsSettingsProperty.getProgramNum()
Sets the value ofCfnChannel.M2tsSettingsProperty.getRateMode()
scte27Pids
(String scte27Pids) Sets the value ofCfnChannel.M2tsSettingsProperty.getScte27Pids()
scte35Control
(String scte35Control) Sets the value ofCfnChannel.M2tsSettingsProperty.getScte35Control()
Sets the value ofCfnChannel.M2tsSettingsProperty.getScte35Pid()
scte35PrerollPullupMilliseconds
(Number scte35PrerollPullupMilliseconds) Sets the value ofCfnChannel.M2tsSettingsProperty.getScte35PrerollPullupMilliseconds()
segmentationMarkers
(String segmentationMarkers) Sets the value ofCfnChannel.M2tsSettingsProperty.getSegmentationMarkers()
segmentationStyle
(String segmentationStyle) Sets the value ofCfnChannel.M2tsSettingsProperty.getSegmentationStyle()
segmentationTime
(Number segmentationTime) Sets the value ofCfnChannel.M2tsSettingsProperty.getSegmentationTime()
timedMetadataBehavior
(String timedMetadataBehavior) Sets the value ofCfnChannel.M2tsSettingsProperty.getTimedMetadataBehavior()
timedMetadataPid
(String timedMetadataPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getTimedMetadataPid()
transportStreamId
(Number transportStreamId) Sets the value ofCfnChannel.M2tsSettingsProperty.getTransportStreamId()
Sets the value ofCfnChannel.M2tsSettingsProperty.getVideoPid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
absentInputAudioBehavior
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder absentInputAudioBehavior(String absentInputAudioBehavior) Sets the value ofCfnChannel.M2tsSettingsProperty.getAbsentInputAudioBehavior()
- Parameters:
absentInputAudioBehavior
- When set to drop, the output audio streams are removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on the input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.- Returns:
this
-
arib
Sets the value ofCfnChannel.M2tsSettingsProperty.getArib()
- Parameters:
arib
- When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.- Returns:
this
-
aribCaptionsPid
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder aribCaptionsPid(String aribCaptionsPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getAribCaptionsPid()
- Parameters:
aribCaptionsPid
- The PID for ARIB Captions 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
-
aribCaptionsPidControl
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder aribCaptionsPidControl(String aribCaptionsPidControl) Sets the value ofCfnChannel.M2tsSettingsProperty.getAribCaptionsPidControl()
- Parameters:
aribCaptionsPidControl
- If set to auto, The PID number used for ARIB Captions will be auto-selected from unused PIDs. If set to useConfigured, ARIB captions will be on the configured PID number.- Returns:
this
-
audioBufferModel
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder audioBufferModel(String audioBufferModel) Sets the value ofCfnChannel.M2tsSettingsProperty.getAudioBufferModel()
- Parameters:
audioBufferModel
- When set to dvb, uses the DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.- Returns:
this
-
audioFramesPerPes
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder audioFramesPerPes(Number audioFramesPerPes) Sets the value ofCfnChannel.M2tsSettingsProperty.getAudioFramesPerPes()
- Parameters:
audioFramesPerPes
- The number of audio frames to insert for each PES packet.- Returns:
this
-
audioPids
Sets the value ofCfnChannel.M2tsSettingsProperty.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. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
audioStreamType
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder audioStreamType(String audioStreamType) Sets the value ofCfnChannel.M2tsSettingsProperty.getAudioStreamType()
- Parameters:
audioStreamType
- When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.- Returns:
this
-
bitrate
Sets the value ofCfnChannel.M2tsSettingsProperty.getBitrate()
- Parameters:
bitrate
- The output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate.- Returns:
this
-
bufferModel
Sets the value ofCfnChannel.M2tsSettingsProperty.getBufferModel()
- Parameters:
bufferModel
- If set to multiplex, uses the multiplex buffer model for accurate interleaving. Setting to bufferModel to none can lead to lower latency, but low-memory devices might not be able to play back the stream without interruptions.- Returns:
this
-
ccDescriptor
Sets the value ofCfnChannel.M2tsSettingsProperty.getCcDescriptor()
- Parameters:
ccDescriptor
- When set to enabled, generates captionServiceDescriptor in PMT.- Returns:
this
-
dvbNitSettings
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder dvbNitSettings(IResolvable dvbNitSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbNitSettings()
- Parameters:
dvbNitSettings
- Inserts a DVB Network Information Table (NIT) at the specified table repetition interval.- Returns:
this
-
dvbNitSettings
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder dvbNitSettings(CfnChannel.DvbNitSettingsProperty dvbNitSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbNitSettings()
- Parameters:
dvbNitSettings
- Inserts a DVB Network Information Table (NIT) at the specified table repetition interval.- Returns:
this
-
dvbSdtSettings
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder dvbSdtSettings(IResolvable dvbSdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbSdtSettings()
- Parameters:
dvbSdtSettings
- Inserts a DVB Service Description Table (SDT) at the specified table repetition interval.- Returns:
this
-
dvbSdtSettings
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder dvbSdtSettings(CfnChannel.DvbSdtSettingsProperty dvbSdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbSdtSettings()
- Parameters:
dvbSdtSettings
- Inserts a DVB Service Description Table (SDT) at the specified table repetition interval.- Returns:
this
-
dvbSubPids
Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbSubPids()
- Parameters:
dvbSubPids
- The PID for the input source DVB Subtitle data to this output. Multiple values are accepted, and can be entered in ranges and/or by comma separation. You can enter the value as a decimal or hexadecimal value. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
dvbTdtSettings
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder dvbTdtSettings(IResolvable dvbTdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbTdtSettings()
- Parameters:
dvbTdtSettings
- Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.- Returns:
this
-
dvbTdtSettings
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder dvbTdtSettings(CfnChannel.DvbTdtSettingsProperty dvbTdtSettings) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbTdtSettings()
- Parameters:
dvbTdtSettings
- Inserts DVB Time and Date Table (TDT) at the specified table repetition interval.- Returns:
this
-
dvbTeletextPid
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder dvbTeletextPid(String dvbTeletextPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getDvbTeletextPid()
- Parameters:
dvbTeletextPid
- The PID for the input source DVB Teletext data to this output. You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
ebif
Sets the value ofCfnChannel.M2tsSettingsProperty.getEbif()
- Parameters:
ebif
- If set to passthrough, passes any EBIF data from the input source to this output.- Returns:
this
-
ebpAudioInterval
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder ebpAudioInterval(String ebpAudioInterval) Sets the value ofCfnChannel.M2tsSettingsProperty.getEbpAudioInterval()
- Parameters:
ebpAudioInterval
- When videoAndFixedIntervals is selected, audio EBP markers are added to partitions 3 and 4. The interval between these additional markers is fixed, and is slightly shorter than the video EBP marker interval. This is only available when EBP Cablelabs segmentation markers are selected. Partitions 1 and 2 always follow the video interval.- Returns:
this
-
ebpLookaheadMs
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder ebpLookaheadMs(Number ebpLookaheadMs) Sets the value ofCfnChannel.M2tsSettingsProperty.getEbpLookaheadMs()
- Parameters:
ebpLookaheadMs
- When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The channel must be configured elsewhere to create sufficient latency to make the lookahead accurate.- Returns:
this
-
ebpPlacement
Sets the value ofCfnChannel.M2tsSettingsProperty.getEbpPlacement()
- Parameters:
ebpPlacement
- Controls placement of EBP on audio PIDs. If set to videoAndAudioPids, EBP markers are placed on the video PID and all audio PIDs. If set to videoPid, EBP markers are placed on only the video PID.- Returns:
this
-
ecmPid
Sets the value ofCfnChannel.M2tsSettingsProperty.getEcmPid()
- Parameters:
ecmPid
- This field is unused and deprecated.- Returns:
this
-
esRateInPes
Sets the value ofCfnChannel.M2tsSettingsProperty.getEsRateInPes()
- Parameters:
esRateInPes
- Includes or excludes the ES Rate field in the PES header.- Returns:
this
-
etvPlatformPid
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder etvPlatformPid(String etvPlatformPid) Sets the value ofCfnChannel.M2tsSettingsProperty.getEtvPlatformPid()
- Parameters:
etvPlatformPid
- The PID for the input source ETV Platform data to this output. You can enter it as a decimal or hexadecimal value. Valid values are 32 (or 0x20) to 8182 (or 0x1ff6).- Returns:
this
-
etvSignalPid
Sets the value ofCfnChannel.M2tsSettingsProperty.getEtvSignalPid()
- Parameters:
etvSignalPid
- The PID for input source ETV Signal data to this output. You can enter the value as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
fragmentTime
Sets the value ofCfnChannel.M2tsSettingsProperty.getFragmentTime()
- Parameters:
fragmentTime
- The length in seconds of each fragment. This is used only with EBP markers.- Returns:
this
-
klv
Sets the value ofCfnChannel.M2tsSettingsProperty.getKlv()
- Parameters:
klv
- If set to passthrough, passes any KLV data from the input source to this output.- Returns:
this
-
klvDataPids
Sets the value ofCfnChannel.M2tsSettingsProperty.getKlvDataPids()
- Parameters:
klvDataPids
- The PID for the input source KLV data to this output. 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. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
nielsenId3Behavior
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder nielsenId3Behavior(String nielsenId3Behavior) Sets the value ofCfnChannel.M2tsSettingsProperty.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
-
nullPacketBitrate
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder nullPacketBitrate(Number nullPacketBitrate) Sets the value ofCfnChannel.M2tsSettingsProperty.getNullPacketBitrate()
- Parameters:
nullPacketBitrate
- The value, in bits per second, of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.- Returns:
this
-
patInterval
Sets the value ofCfnChannel.M2tsSettingsProperty.getPatInterval()
- Parameters:
patInterval
- The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.- Returns:
this
-
pcrControl
Sets the value ofCfnChannel.M2tsSettingsProperty.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.M2tsSettingsProperty.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.M2tsSettingsProperty.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. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
pmtInterval
Sets the value ofCfnChannel.M2tsSettingsProperty.getPmtInterval()
- Parameters:
pmtInterval
- The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.- Returns:
this
-
pmtPid
Sets the value ofCfnChannel.M2tsSettingsProperty.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. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
programNum
Sets the value ofCfnChannel.M2tsSettingsProperty.getProgramNum()
- Parameters:
programNum
- The value of the program number field in the Program Map Table (PMT).- Returns:
this
-
rateMode
Sets the value ofCfnChannel.M2tsSettingsProperty.getRateMode()
- Parameters:
rateMode
- When VBR, does not insert null packets into the transport stream to fill the specified bitrate. The bitrate setting acts as the maximum bitrate when VBR is set.- Returns:
this
-
scte27Pids
Sets the value ofCfnChannel.M2tsSettingsProperty.getScte27Pids()
- Parameters:
scte27Pids
- The PID for the input source SCTE-27 data to this output. 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. Each PID specified must be in the range of 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
scte35Control
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder scte35Control(String scte35Control) Sets the value ofCfnChannel.M2tsSettingsProperty.getScte35Control()
- Parameters:
scte35Control
- Optionally passes SCTE-35 signals from the input source to this output.- Returns:
this
-
scte35Pid
Sets the value ofCfnChannel.M2tsSettingsProperty.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. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
scte35PrerollPullupMilliseconds
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder scte35PrerollPullupMilliseconds(Number scte35PrerollPullupMilliseconds) Sets the value ofCfnChannel.M2tsSettingsProperty.getScte35PrerollPullupMilliseconds()
- Parameters:
scte35PrerollPullupMilliseconds
-CfnChannel.M2tsSettingsProperty.Scte35PrerollPullupMilliseconds
.- Returns:
this
-
segmentationMarkers
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder segmentationMarkers(String segmentationMarkers) Sets the value ofCfnChannel.M2tsSettingsProperty.getSegmentationMarkers()
- Parameters:
segmentationMarkers
- Inserts segmentation markers at each segmentationTime period. raiSegstart sets the Random Access Indicator bit in the adaptation field. raiAdapt sets the RAI bit and adds the current timecode in the private data bytes. psiSegstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebpLegacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.- Returns:
this
-
segmentationStyle
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder segmentationStyle(String segmentationStyle) Sets the value ofCfnChannel.M2tsSettingsProperty.getSegmentationStyle()
- Parameters:
segmentationStyle
- The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments might be truncated, which can influence where future segmentation markers are inserted. When a segmentation style of resetCadence is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of $segmentationTime seconds. When a segmentation style of maintainCadence is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentationTime seconds. Note that EBP lookahead is a slight exception to this rule.- Returns:
this
-
segmentationTime
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder segmentationTime(Number segmentationTime) Sets the value ofCfnChannel.M2tsSettingsProperty.getSegmentationTime()
- Parameters:
segmentationTime
- The length, in seconds, of each segment. This is required unless markers is set to None_.- Returns:
this
-
timedMetadataBehavior
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder timedMetadataBehavior(String timedMetadataBehavior) Sets the value ofCfnChannel.M2tsSettingsProperty.getTimedMetadataBehavior()
- Parameters:
timedMetadataBehavior
- When set to passthrough, timed metadata is passed through from input to output.- Returns:
this
-
timedMetadataPid
@Stability(Stable) public CfnChannel.M2tsSettingsProperty.Builder timedMetadataPid(String timedMetadataPid) Sets the value ofCfnChannel.M2tsSettingsProperty.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.M2tsSettingsProperty.Builder transportStreamId(Number transportStreamId) Sets the value ofCfnChannel.M2tsSettingsProperty.getTransportStreamId()
- Parameters:
transportStreamId
- The value of the transport stream ID field in the Program Map Table (PMT).- Returns:
this
-
videoPid
Sets the value ofCfnChannel.M2tsSettingsProperty.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. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.M2tsSettingsProperty>
- Returns:
- a new instance of
CfnChannel.M2tsSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-