public static final class CfnOriginEndpoint.HlsManifestProperty.Builder
extends java.lang.Object
CfnOriginEndpoint.HlsManifestProperty
Constructor and Description |
---|
Builder() |
public CfnOriginEndpoint.HlsManifestProperty.Builder id(java.lang.String id)
CfnOriginEndpoint.HlsManifestProperty.getId()
id
- The manifest ID is required and must be unique within the OriginEndpoint. This parameter is required.
The ID can't be changed after the endpoint is created.this
public CfnOriginEndpoint.HlsManifestProperty.Builder adMarkers(java.lang.String adMarkers)
CfnOriginEndpoint.HlsManifestProperty.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.HlsManifestProperty.Builder adsOnDeliveryRestrictions(java.lang.String adsOnDeliveryRestrictions)
CfnOriginEndpoint.HlsManifestProperty.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.HlsManifestProperty.Builder adTriggers(java.util.List<java.lang.String> adTriggers)
CfnOriginEndpoint.HlsManifestProperty.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.HlsManifestProperty.Builder includeIframeOnlyStream(java.lang.Boolean includeIframeOnlyStream)
CfnOriginEndpoint.HlsManifestProperty.getIncludeIframeOnlyStream()
includeIframeOnlyStream
- Applies to stream sets with a single video track only.
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.HlsManifestProperty.Builder includeIframeOnlyStream(IResolvable includeIframeOnlyStream)
CfnOriginEndpoint.HlsManifestProperty.getIncludeIframeOnlyStream()
includeIframeOnlyStream
- Applies to stream sets with a single video track only.
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.HlsManifestProperty.Builder manifestName(java.lang.String manifestName)
CfnOriginEndpoint.HlsManifestProperty.getManifestName()
manifestName
- A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.
The manifestName on the HLSManifest object overrides the manifestName that you provided on the originEndpoint object.this
public CfnOriginEndpoint.HlsManifestProperty.Builder playlistType(java.lang.String playlistType)
CfnOriginEndpoint.HlsManifestProperty.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.HlsManifestProperty.Builder playlistWindowSeconds(java.lang.Number playlistWindowSeconds)
CfnOriginEndpoint.HlsManifestProperty.getPlaylistWindowSeconds()
playlistWindowSeconds
- Time window (in seconds) contained in each parent manifest.this
public CfnOriginEndpoint.HlsManifestProperty.Builder programDateTimeIntervalSeconds(java.lang.Number programDateTimeIntervalSeconds)
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.HlsManifestProperty.Builder url(java.lang.String url)
CfnOriginEndpoint.HlsManifestProperty.getUrl()
url
- The URL that's used to request this manifest from this endpoint.this
public CfnOriginEndpoint.HlsManifestProperty build()
CfnOriginEndpoint.HlsManifestProperty
java.lang.NullPointerException
- if any required attribute was not provided