Class CfnOriginEndpoint.HlsManifestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.HlsManifestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpoint.HlsManifestProperty>
- Enclosing interface:
- CfnOriginEndpoint.HlsManifestProperty
@Stability(Stable)
public static final class CfnOriginEndpoint.HlsManifestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpoint.HlsManifestProperty>
A builder for
CfnOriginEndpoint.HlsManifestProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnOriginEndpoint.HlsManifestProperty.getAdMarkers()
adsOnDeliveryRestrictions
(String adsOnDeliveryRestrictions) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getAdsOnDeliveryRestrictions()
adTriggers
(List<String> adTriggers) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getAdTriggers()
build()
Builds the configured instance.Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getId()
includeIframeOnlyStream
(Boolean includeIframeOnlyStream) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getIncludeIframeOnlyStream()
includeIframeOnlyStream
(IResolvable includeIframeOnlyStream) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getIncludeIframeOnlyStream()
manifestName
(String manifestName) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getManifestName()
playlistType
(String playlistType) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getPlaylistType()
playlistWindowSeconds
(Number playlistWindowSeconds) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getPlaylistWindowSeconds()
programDateTimeIntervalSeconds
(Number programDateTimeIntervalSeconds) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getId()
- Parameters:
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.- Returns:
this
-
adMarkers
Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getAdMarkers()
- Parameters:
adMarkers
- Controls how ad markers are included in the packaged endpoint. Valid values: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.
- Returns:
this
-
adsOnDeliveryRestrictions
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder adsOnDeliveryRestrictions(String adsOnDeliveryRestrictions) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getAdsOnDeliveryRestrictions()
- Parameters:
adsOnDeliveryRestrictions
- The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .- Returns:
this
-
adTriggers
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder adTriggers(List<String> adTriggers) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getAdTriggers()
- Parameters:
adTriggers
- Specifies the SCTE-35 message types that AWS Elemental 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
- Returns:
this
-
includeIframeOnlyStream
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder includeIframeOnlyStream(Boolean includeIframeOnlyStream) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getIncludeIframeOnlyStream()
- Parameters:
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.- Returns:
this
-
includeIframeOnlyStream
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder includeIframeOnlyStream(IResolvable includeIframeOnlyStream) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getIncludeIframeOnlyStream()
- Parameters:
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.- Returns:
this
-
manifestName
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder manifestName(String manifestName) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getManifestName()
- Parameters:
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.- Returns:
this
-
playlistType
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder playlistType(String playlistType) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getPlaylistType()
- Parameters:
playlistType
- When specified as eitherevent
orvod
, a correspondingEXT-X-PLAYLIST-TYPE
entry is included in the media playlist. Indicates if the playlist is live-to-VOD content.- Returns:
this
-
playlistWindowSeconds
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder playlistWindowSeconds(Number playlistWindowSeconds) Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getPlaylistWindowSeconds()
- Parameters:
playlistWindowSeconds
- Time window (in seconds) contained in each parent manifest.- Returns:
this
-
programDateTimeIntervalSeconds
@Stability(Stable) public CfnOriginEndpoint.HlsManifestProperty.Builder programDateTimeIntervalSeconds(Number programDateTimeIntervalSeconds) - Parameters:
programDateTimeIntervalSeconds
- InsertsEXT-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 theEXT-X-PROGRAM-DATE-TIME
tags are not included in the manifest.- Returns:
this
-
url
Sets the value ofCfnOriginEndpoint.HlsManifestProperty.getUrl()
- Parameters:
url
- The URL that's used to request this manifest from this endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpoint.HlsManifestProperty>
- Returns:
- a new instance of
CfnOriginEndpoint.HlsManifestProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-