Class CfnChannel.HlsGroupSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.HlsGroupSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.HlsGroupSettingsProperty>
- Enclosing interface:
CfnChannel.HlsGroupSettingsProperty
@Stability(Stable)
public static final class CfnChannel.HlsGroupSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.HlsGroupSettingsProperty>
A builder for
CfnChannel.HlsGroupSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnChannel.HlsGroupSettingsProperty.getAdMarkers()
baseUrlContent
(String baseUrlContent) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlContent()
baseUrlContent1
(String baseUrlContent1) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlContent1()
baseUrlManifest
(String baseUrlManifest) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlManifest()
baseUrlManifest1
(String baseUrlManifest1) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlManifest1()
build()
Builds the configured instance.captionLanguageMappings
(List<? extends Object> captionLanguageMappings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getCaptionLanguageMappings()
captionLanguageMappings
(IResolvable captionLanguageMappings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getCaptionLanguageMappings()
captionLanguageSetting
(String captionLanguageSetting) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getCaptionLanguageSetting()
clientCache
(String clientCache) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getClientCache()
codecSpecification
(String codecSpecification) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getCodecSpecification()
constantIv
(String constantIv) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getConstantIv()
destination
(IResolvable destination) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDestination()
destination
(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDestination()
directoryStructure
(String directoryStructure) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDirectoryStructure()
discontinuityTags
(String discontinuityTags) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDiscontinuityTags()
encryptionType
(String encryptionType) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getEncryptionType()
hlsCdnSettings
(IResolvable hlsCdnSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getHlsCdnSettings()
hlsCdnSettings
(CfnChannel.HlsCdnSettingsProperty hlsCdnSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getHlsCdnSettings()
hlsId3SegmentTagging
(String hlsId3SegmentTagging) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getHlsId3SegmentTagging()
iFrameOnlyPlaylists
(String iFrameOnlyPlaylists) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIFrameOnlyPlaylists()
incompleteSegmentBehavior
(String incompleteSegmentBehavior) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIncompleteSegmentBehavior()
indexNSegments
(Number indexNSegments) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIndexNSegments()
inputLossAction
(String inputLossAction) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getInputLossAction()
ivInManifest
(String ivInManifest) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIvInManifest()
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIvSource()
keepSegments
(Number keepSegments) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeepSegments()
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyFormat()
keyFormatVersions
(String keyFormatVersions) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyFormatVersions()
keyProviderSettings
(IResolvable keyProviderSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyProviderSettings()
keyProviderSettings
(CfnChannel.KeyProviderSettingsProperty keyProviderSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyProviderSettings()
manifestCompression
(String manifestCompression) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getManifestCompression()
manifestDurationFormat
(String manifestDurationFormat) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getManifestDurationFormat()
minSegmentLength
(Number minSegmentLength) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getMinSegmentLength()
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getMode()
outputSelection
(String outputSelection) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getOutputSelection()
programDateTime
(String programDateTime) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getProgramDateTime()
programDateTimeClock
(String programDateTimeClock) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getProgramDateTimeClock()
programDateTimePeriod
(Number programDateTimePeriod) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getProgramDateTimePeriod()
redundantManifest
(String redundantManifest) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getRedundantManifest()
segmentationMode
(String segmentationMode) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getSegmentationMode()
segmentLength
(Number segmentLength) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getSegmentLength()
segmentsPerSubdirectory
(Number segmentsPerSubdirectory) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getSegmentsPerSubdirectory()
streamInfResolution
(String streamInfResolution) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getStreamInfResolution()
timedMetadataId3Frame
(String timedMetadataId3Frame) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTimedMetadataId3Frame()
timedMetadataId3Period
(Number timedMetadataId3Period) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTimedMetadataId3Period()
timestampDeltaMilliseconds
(Number timestampDeltaMilliseconds) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTimestampDeltaMilliseconds()
tsFileMode
(String tsFileMode) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTsFileMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adMarkers
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder adMarkers(List<String> adMarkers) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getAdMarkers()
- Parameters:
adMarkers
- Chooses one or more ad marker types to pass SCTE35 signals through to this group of Apple HLS outputs.- Returns:
this
-
baseUrlContent
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder baseUrlContent(String baseUrlContent) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlContent()
- Parameters:
baseUrlContent
- A partial URI prefix that will be prepended to each output in the media .m3u8 file. The partial URI prefix can be used if the base manifest is delivered from a different URL than the main .m3u8 file.- Returns:
this
-
baseUrlContent1
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder baseUrlContent1(String baseUrlContent1) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlContent1()
- Parameters:
baseUrlContent1
- Optional. One value per output group. This field is required only if you are completing Base URL content A, and the downstream system has notified you that the media files for pipeline 1 of all outputs are in a location different from the media files for pipeline 0.- Returns:
this
-
baseUrlManifest
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder baseUrlManifest(String baseUrlManifest) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlManifest()
- Parameters:
baseUrlManifest
- A partial URI prefix that will be prepended to each output in the media .m3u8 file. The partial URI prefix can be used if the base manifest is delivered from a different URL than the main .m3u8 file.- Returns:
this
-
baseUrlManifest1
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder baseUrlManifest1(String baseUrlManifest1) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getBaseUrlManifest1()
- Parameters:
baseUrlManifest1
- Optional. One value per output group. Complete this field only if you are completing Base URL manifest A, and the downstream system has notified you that the child manifest files for pipeline 1 of all outputs are in a location different from the child manifest files for pipeline 0.- Returns:
this
-
clientCache
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder clientCache(String clientCache) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getClientCache()
- Parameters:
clientCache
- When set to "disabled," sets the #EXT-X-ALLOW-CACHE:no tag in the manifest, which prevents clients from saving media segments for later replay.- Returns:
this
-
codecSpecification
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder codecSpecification(String codecSpecification) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getCodecSpecification()
- Parameters:
codecSpecification
- The specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.- Returns:
this
-
constantIv
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getConstantIv()
- Parameters:
constantIv
- Used with encryptionType. This is a 128-bit, 16-byte hex value that is represented by a 32-character text string. If ivSource is set to "explicit," this parameter is required and is used as the IV for encryption.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDestination()
- Parameters:
destination
- A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDestination()
- Parameters:
destination
- A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).- Returns:
this
-
directoryStructure
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder directoryStructure(String directoryStructure) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDirectoryStructure()
- Parameters:
directoryStructure
- Places segments in subdirectories.- Returns:
this
-
discontinuityTags
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder discontinuityTags(String discontinuityTags) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getDiscontinuityTags()
- Parameters:
discontinuityTags
- Specifies whether to insert EXT-X-DISCONTINUITY tags in the HLS child manifests for this output group. Typically, choose Insert because these tags are required in the manifest (according to the HLS specification) and serve an important purpose. Choose Never Insert only if the downstream system is doing real-time failover (without using the MediaLive automatic failover feature) and only if that downstream system has advised you to exclude the tags.- Returns:
this
-
encryptionType
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder encryptionType(String encryptionType) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getEncryptionType()
- Parameters:
encryptionType
- Encrypts the segments with the specified encryption scheme. Exclude this parameter if you don't want encryption.- Returns:
this
-
hlsCdnSettings
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder hlsCdnSettings(IResolvable hlsCdnSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getHlsCdnSettings()
- Parameters:
hlsCdnSettings
- The parameters that control interactions with the CDN.- Returns:
this
-
hlsCdnSettings
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder hlsCdnSettings(CfnChannel.HlsCdnSettingsProperty hlsCdnSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getHlsCdnSettings()
- Parameters:
hlsCdnSettings
- The parameters that control interactions with the CDN.- Returns:
this
-
hlsId3SegmentTagging
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder hlsId3SegmentTagging(String hlsId3SegmentTagging) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getHlsId3SegmentTagging()
- Parameters:
hlsId3SegmentTagging
- State of HLS ID3 Segment Tagging.- Returns:
this
-
iFrameOnlyPlaylists
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder iFrameOnlyPlaylists(String iFrameOnlyPlaylists) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIFrameOnlyPlaylists()
- Parameters:
iFrameOnlyPlaylists
- DISABLED: Don't create an I-frame-only manifest, but do create the master and media manifests (according to the Output Selection field). STANDARD: Create an I-frame-only manifest for each output that contains video, as well as the other manifests (according to the Output Selection field). The I-frame manifest contains a #EXT-X-I-FRAMES-ONLY tag to indicate it is I-frame only, and one or more #EXT-X-BYTERANGE entries identifying the I-frame position. For example, #EXT-X-BYTERANGE:160364@1461888".- Returns:
this
-
incompleteSegmentBehavior
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder incompleteSegmentBehavior(String incompleteSegmentBehavior) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIncompleteSegmentBehavior()
- Parameters:
incompleteSegmentBehavior
- Specifies whether to include the final (incomplete) segment in the media output when the pipeline stops producing output because of a channel stop, a channel pause or a loss of input to the pipeline. Auto means that MediaLive decides whether to include the final segment, depending on the channel class and the types of output groups. Suppress means to never include the incomplete segment. We recommend you choose Auto and let MediaLive control the behavior.- Returns:
this
-
indexNSegments
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder indexNSegments(Number indexNSegments) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIndexNSegments()
- Parameters:
indexNSegments
- Applies only if the Mode field is LIVE. Specifies the maximum number of segments in the media manifest file. After this maximum, older segments are removed from the media manifest. This number must be less than or equal to the Keep Segments field.- Returns:
this
-
inputLossAction
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder inputLossAction(String inputLossAction) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getInputLossAction()
- Parameters:
inputLossAction
- A parameter that controls output group behavior on an input loss.- Returns:
this
-
ivInManifest
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder ivInManifest(String ivInManifest) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIvInManifest()
- Parameters:
ivInManifest
- Used with encryptionType. The IV (initialization vector) is a 128-bit number used in conjunction with the key for encrypting blocks. If set to "include," the IV is listed in the manifest. Otherwise, the IV is not in the manifest.- Returns:
this
-
ivSource
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getIvSource()
- Parameters:
ivSource
- Used with encryptionType. The IV (initialization vector) is a 128-bit number used in conjunction with the key for encrypting blocks. If this setting is "followsSegmentNumber," it causes the IV to change every segment (to match the segment number). If this is set to "explicit," you must enter a constantIv value.- Returns:
this
-
keepSegments
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder keepSegments(Number keepSegments) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeepSegments()
- Parameters:
keepSegments
- Applies only if the Mode field is LIVE. Specifies the number of media segments (.ts files) to retain in the destination directory.- Returns:
this
-
keyFormat
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyFormat()
- Parameters:
keyFormat
- Specifies how the key is represented in the resource identified by the URI. If the parameter is absent, an implicit value of "identity" is used. A reverse DNS string can also be specified.- Returns:
this
-
keyFormatVersions
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder keyFormatVersions(String keyFormatVersions) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyFormatVersions()
- Parameters:
keyFormatVersions
- Either a single positive integer version value or a slash-delimited list of version values (1/2/3).- Returns:
this
-
keyProviderSettings
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder keyProviderSettings(IResolvable keyProviderSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyProviderSettings()
- Parameters:
keyProviderSettings
- The key provider settings.- Returns:
this
-
keyProviderSettings
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder keyProviderSettings(CfnChannel.KeyProviderSettingsProperty keyProviderSettings) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getKeyProviderSettings()
- Parameters:
keyProviderSettings
- The key provider settings.- Returns:
this
-
manifestCompression
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder manifestCompression(String manifestCompression) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getManifestCompression()
- Parameters:
manifestCompression
- When set to gzip, compresses HLS playlist.- Returns:
this
-
manifestDurationFormat
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder manifestDurationFormat(String manifestDurationFormat) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getManifestDurationFormat()
- Parameters:
manifestDurationFormat
- Indicates whether the output manifest should use a floating point or integer values for segment duration.- Returns:
this
-
minSegmentLength
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder minSegmentLength(Number minSegmentLength) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getMinSegmentLength()
- Parameters:
minSegmentLength
- When set, minimumSegmentLength is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.- Returns:
this
-
mode
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getMode()
- Parameters:
mode
- If "vod," all segments are indexed and kept permanently in the destination and manifest. If "live," only the number segments specified in keepSegments and indexNSegments are kept. Newer segments replace older segments, which might prevent players from rewinding all the way to the beginning of the channel. VOD mode uses HLS EXT-X-PLAYLIST-TYPE of EVENT while the channel is running, converting it to a "VOD" type manifest on completion of the stream.- Returns:
this
-
outputSelection
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder outputSelection(String outputSelection) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getOutputSelection()
- Parameters:
outputSelection
- MANIFESTSANDSEGMENTS: Generates manifests (the master manifest, if applicable, and media manifests) for this output group. SEGMENTSONLY: Doesn't generate any manifests for this output group.- Returns:
this
-
programDateTime
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder programDateTime(String programDateTime) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getProgramDateTime()
- Parameters:
programDateTime
- Includes or excludes the EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: Either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestampOffset.- Returns:
this
-
programDateTimeClock
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder programDateTimeClock(String programDateTimeClock) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getProgramDateTimeClock()
- Parameters:
programDateTimeClock
- Specifies the algorithm used to drive the HLS EXT-X-PROGRAM-DATE-TIME clock. Options include: INITIALIZE_FROM_OUTPUT_TIMECODE: The PDT clock is initialized as a function of the first output timecode, then incremented by the EXTINF duration of each encoded segment. SYSTEM_CLOCK: The PDT clock is initialized as a function of the UTC wall clock, then incremented by the EXTINF duration of each encoded segment. If the PDT clock diverges from the wall clock by more than 500ms, it is resynchronized to the wall clock.- Returns:
this
-
programDateTimePeriod
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder programDateTimePeriod(Number programDateTimePeriod) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getProgramDateTimePeriod()
- Parameters:
programDateTimePeriod
- The period of insertion of the EXT-X-PROGRAM-DATE-TIME entry, in seconds.- Returns:
this
-
redundantManifest
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder redundantManifest(String redundantManifest) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getRedundantManifest()
- Parameters:
redundantManifest
- ENABLED: The master manifest (.m3u8 file) for each pipeline includes information about both pipelines: first its own media files, then the media files of the other pipeline. This feature allows a playout device that supports stale manifest detection to switch from one manifest to the other, when the current manifest seems to be stale. There are still two destinations and two master manifests, but both master manifests reference the media files from both pipelines. DISABLED: The master manifest (.m3u8 file) for each pipeline includes information about its own pipeline only. For an HLS output group with MediaPackage as the destination, the DISABLED behavior is always followed. MediaPackage regenerates the manifests it serves to players, so a redundant manifest from MediaLive is irrelevant.- Returns:
this
-
segmentationMode
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder segmentationMode(String segmentationMode) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getSegmentationMode()
- Parameters:
segmentationMode
- useInputSegmentation has been deprecated. The configured segment size is always used.- Returns:
this
-
segmentLength
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder segmentLength(Number segmentLength) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getSegmentLength()
- Parameters:
segmentLength
- The length of the MPEG-2 Transport Stream segments to create, in seconds. Note that segments will end on the next keyframe after this number of seconds, so the actual segment length might be longer.- Returns:
this
-
segmentsPerSubdirectory
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder segmentsPerSubdirectory(Number segmentsPerSubdirectory) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getSegmentsPerSubdirectory()
- Parameters:
segmentsPerSubdirectory
- The number of segments to write to a subdirectory before starting a new one. For this setting to have an effect, directoryStructure must be subdirectoryPerStream.- Returns:
this
-
streamInfResolution
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder streamInfResolution(String streamInfResolution) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getStreamInfResolution()
- Parameters:
streamInfResolution
- The include or exclude RESOLUTION attribute for a video in the EXT-X-STREAM-INF tag of a variant manifest.- Returns:
this
-
timedMetadataId3Frame
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder timedMetadataId3Frame(String timedMetadataId3Frame) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTimedMetadataId3Frame()
- Parameters:
timedMetadataId3Frame
- Indicates the ID3 frame that has the timecode.- Returns:
this
-
timedMetadataId3Period
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder timedMetadataId3Period(Number timedMetadataId3Period) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTimedMetadataId3Period()
- Parameters:
timedMetadataId3Period
- The timed metadata interval, in seconds.- Returns:
this
-
timestampDeltaMilliseconds
@Stability(Stable) public CfnChannel.HlsGroupSettingsProperty.Builder timestampDeltaMilliseconds(Number timestampDeltaMilliseconds) Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTimestampDeltaMilliseconds()
- Parameters:
timestampDeltaMilliseconds
- Provides an extra millisecond delta offset to fine tune the timestamps.- Returns:
this
-
tsFileMode
Sets the value ofCfnChannel.HlsGroupSettingsProperty.getTsFileMode()
- Parameters:
tsFileMode
- SEGMENTEDFILES: Emits the program as segments -multiple .ts media files. SINGLEFILE: Applies only if the Mode field is VOD. Emits the program as a single .ts media file. The media manifest includes #EXT-X-BYTERANGE tags to index segments for playback. A typical use for this value is when sending the output to AWS Elemental MediaConvert, which can accept only a single media file. Playback while the channel is running is not guaranteed due to HTTP server caching.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.HlsGroupSettingsProperty>
- Returns:
- a new instance of
CfnChannel.HlsGroupSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-