public static final class CfnOriginEndpoint.HlsPackageProperty.Builder
extends java.lang.Object
CfnOriginEndpoint.HlsPackageProperty
Constructor and Description |
---|
Builder() |
public CfnOriginEndpoint.HlsPackageProperty.Builder adMarkers(java.lang.String adMarkers)
CfnOriginEndpoint.HlsPackageProperty.getAdMarkers()
adMarkers
- Controls how ad markers are included in the packaged endpoint.
Valid values are none
, passthrough
, or scte35_enhanced
.
NONE
- omits all SCTE-35 ad markers from the output.PASSTHROUGH
- creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest.SCTE35_ENHANCED
- generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest.this
public CfnOriginEndpoint.HlsPackageProperty.Builder adsOnDeliveryRestrictions(java.lang.String adsOnDeliveryRestrictions)
CfnOriginEndpoint.HlsPackageProperty.getAdsOnDeliveryRestrictions()
adsOnDeliveryRestrictions
- The flags on SCTE-35 segmentation descriptors that have to be present for MediaPackage to insert ad markers in the output manifest.
For information about SCTE-35 in MediaPackage, see SCTE-35 Message Options in AWS Elemental MediaPackage .this
public CfnOriginEndpoint.HlsPackageProperty.Builder adTriggers(java.util.List<java.lang.String> adTriggers)
CfnOriginEndpoint.HlsPackageProperty.getAdTriggers()
adTriggers
- Specifies the SCTE-35 message types that MediaPackage treats as ad markers in the output manifest.
Valid values:
BREAK
DISTRIBUTOR_ADVERTISEMENT
DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
DISTRIBUTOR_PLACEMENT_OPPORTUNITY
PROVIDER_ADVERTISEMENT
PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY
PROVIDER_PLACEMENT_OPPORTUNITY
SPLICE_INSERT
this
public CfnOriginEndpoint.HlsPackageProperty.Builder encryption(IResolvable encryption)
CfnOriginEndpoint.HlsPackageProperty.getEncryption()
encryption
- Parameters for encrypting content.this
public CfnOriginEndpoint.HlsPackageProperty.Builder encryption(CfnOriginEndpoint.HlsEncryptionProperty encryption)
CfnOriginEndpoint.HlsPackageProperty.getEncryption()
encryption
- Parameters for encrypting content.this
public CfnOriginEndpoint.HlsPackageProperty.Builder includeIframeOnlyStream(java.lang.Boolean includeIframeOnlyStream)
CfnOriginEndpoint.HlsPackageProperty.getIncludeIframeOnlyStream()
includeIframeOnlyStream
- Only applies to stream sets with a single video track.
When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.this
public CfnOriginEndpoint.HlsPackageProperty.Builder includeIframeOnlyStream(IResolvable includeIframeOnlyStream)
CfnOriginEndpoint.HlsPackageProperty.getIncludeIframeOnlyStream()
includeIframeOnlyStream
- Only applies to stream sets with a single video track.
When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.this
public CfnOriginEndpoint.HlsPackageProperty.Builder playlistType(java.lang.String playlistType)
CfnOriginEndpoint.HlsPackageProperty.getPlaylistType()
playlistType
- When specified as either `event` or `vod` , a corresponding `EXT-X-PLAYLIST-TYPE` entry is included in the media playlist.
Indicates if the playlist is live-to-VOD content.this
public CfnOriginEndpoint.HlsPackageProperty.Builder playlistWindowSeconds(java.lang.Number playlistWindowSeconds)
CfnOriginEndpoint.HlsPackageProperty.getPlaylistWindowSeconds()
playlistWindowSeconds
- Time window (in seconds) contained in each parent manifest.this
public CfnOriginEndpoint.HlsPackageProperty.Builder programDateTimeIntervalSeconds(java.lang.Number programDateTimeIntervalSeconds)
CfnOriginEndpoint.HlsPackageProperty.getProgramDateTimeIntervalSeconds()
programDateTimeIntervalSeconds
- Inserts `EXT-X-PROGRAM-DATE-TIME` tags in the output manifest at the interval that you specify.
Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
Omit this attribute or enter 0
to indicate that the EXT-X-PROGRAM-DATE-TIME
tags are not included in the manifest.
this
public CfnOriginEndpoint.HlsPackageProperty.Builder segmentDurationSeconds(java.lang.Number segmentDurationSeconds)
CfnOriginEndpoint.HlsPackageProperty.getSegmentDurationSeconds()
segmentDurationSeconds
- Duration (in seconds) of each fragment.
Actual fragments are rounded to the nearest multiple of the source fragment duration.this
public CfnOriginEndpoint.HlsPackageProperty.Builder streamSelection(IResolvable streamSelection)
CfnOriginEndpoint.HlsPackageProperty.getStreamSelection()
streamSelection
- Limitations for outputs from the endpoint, based on the video bitrate.this
public CfnOriginEndpoint.HlsPackageProperty.Builder streamSelection(CfnOriginEndpoint.StreamSelectionProperty streamSelection)
CfnOriginEndpoint.HlsPackageProperty.getStreamSelection()
streamSelection
- Limitations for outputs from the endpoint, based on the video bitrate.this
public CfnOriginEndpoint.HlsPackageProperty.Builder useAudioRenditionGroup(java.lang.Boolean useAudioRenditionGroup)
CfnOriginEndpoint.HlsPackageProperty.getUseAudioRenditionGroup()
useAudioRenditionGroup
- When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.
All other tracks in the stream can be used with any audio rendition from the group.this
public CfnOriginEndpoint.HlsPackageProperty.Builder useAudioRenditionGroup(IResolvable useAudioRenditionGroup)
CfnOriginEndpoint.HlsPackageProperty.getUseAudioRenditionGroup()
useAudioRenditionGroup
- When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.
All other tracks in the stream can be used with any audio rendition from the group.this
public CfnOriginEndpoint.HlsPackageProperty build()
CfnOriginEndpoint.HlsPackageProperty
java.lang.NullPointerException
- if any required attribute was not provided