Class CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.HlsPackageProperty>
- Enclosing interface:
CfnOriginEndpointPropsMixin.HlsPackageProperty
@Stability(Stable)
public static final class CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.HlsPackageProperty>
A builder for
CfnOriginEndpointPropsMixin.HlsPackageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getAdMarkers()adsOnDeliveryRestrictions(String adsOnDeliveryRestrictions) adTriggers(List<String> adTriggers) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getAdTriggers()build()Builds the configured instance.Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getEncryption()encryption(IResolvable encryption) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getEncryption()includeDvbSubtitles(Boolean includeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getIncludeDvbSubtitles()includeDvbSubtitles(IResolvable includeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getIncludeDvbSubtitles()includeIframeOnlyStream(Boolean includeIframeOnlyStream) includeIframeOnlyStream(IResolvable includeIframeOnlyStream) playlistType(String playlistType) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getPlaylistType()playlistWindowSeconds(Number playlistWindowSeconds) programDateTimeIntervalSeconds(Number programDateTimeIntervalSeconds) segmentDurationSeconds(Number segmentDurationSeconds) streamSelection(CfnOriginEndpointPropsMixin.StreamSelectionProperty streamSelection) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getStreamSelection()streamSelection(IResolvable streamSelection) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getStreamSelection()useAudioRenditionGroup(Boolean useAudioRenditionGroup) useAudioRenditionGroup(IResolvable useAudioRenditionGroup)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adMarkers
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder adMarkers(String adMarkers) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.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 CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder adsOnDeliveryRestrictions(String adsOnDeliveryRestrictions) - 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 CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder adTriggers(List<String> adTriggers) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getAdTriggers()- Parameters:
adTriggers- Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest. Valid values:BREAKDISTRIBUTOR_ADVERTISEMENTDISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITYDISTRIBUTOR_PLACEMENT_OPPORTUNITYPROVIDER_ADVERTISEMENTPROVIDER_OVERLAY_PLACEMENT_OPPORTUNITYPROVIDER_PLACEMENT_OPPORTUNITYSPLICE_INSERT
- Returns:
this
-
encryption
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder encryption(IResolvable encryption) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getEncryption()- Parameters:
encryption- Parameters for encrypting content.- Returns:
this
-
encryption
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder encryption(CfnOriginEndpointPropsMixin.HlsEncryptionProperty encryption) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getEncryption()- Parameters:
encryption- Parameters for encrypting content.- Returns:
this
-
includeDvbSubtitles
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder includeDvbSubtitles(Boolean includeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getIncludeDvbSubtitles()- Parameters:
includeDvbSubtitles- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.- Returns:
this
-
includeDvbSubtitles
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder includeDvbSubtitles(IResolvable includeDvbSubtitles) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getIncludeDvbSubtitles()- Parameters:
includeDvbSubtitles- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.- Returns:
this
-
includeIframeOnlyStream
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder includeIframeOnlyStream(Boolean includeIframeOnlyStream) - Parameters:
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.- Returns:
this
-
includeIframeOnlyStream
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder includeIframeOnlyStream(IResolvable includeIframeOnlyStream) - Parameters:
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.- Returns:
this
-
playlistType
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder playlistType(String playlistType) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getPlaylistType()- Parameters:
playlistType- When specified as eithereventorvod, a correspondingEXT-X-PLAYLIST-TYPEentry is included in the media playlist. Indicates if the playlist is live-to-VOD content.- Returns:
this
-
playlistWindowSeconds
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder playlistWindowSeconds(Number playlistWindowSeconds) - Parameters:
playlistWindowSeconds- Time window (in seconds) contained in each parent manifest.- Returns:
this
-
programDateTimeIntervalSeconds
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder programDateTimeIntervalSeconds(Number programDateTimeIntervalSeconds) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getProgramDateTimeIntervalSeconds()- Parameters:
programDateTimeIntervalSeconds- InsertsEXT-X-PROGRAM-DATE-TIMEtags in the output manifest at the interval that you specify. 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
0to indicate that theEXT-X-PROGRAM-DATE-TIMEtags are not included in the manifest.- Returns:
this
-
segmentDurationSeconds
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder segmentDurationSeconds(Number segmentDurationSeconds) - Parameters:
segmentDurationSeconds- Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration.- Returns:
this
-
streamSelection
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder streamSelection(IResolvable streamSelection) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getStreamSelection()- Parameters:
streamSelection- Limitations for outputs from the endpoint, based on the video bitrate.- Returns:
this
-
streamSelection
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder streamSelection(CfnOriginEndpointPropsMixin.StreamSelectionProperty streamSelection) Sets the value ofCfnOriginEndpointPropsMixin.HlsPackageProperty.getStreamSelection()- Parameters:
streamSelection- Limitations for outputs from the endpoint, based on the video bitrate.- Returns:
this
-
useAudioRenditionGroup
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder useAudioRenditionGroup(Boolean useAudioRenditionGroup) - Parameters:
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.- Returns:
this
-
useAudioRenditionGroup
@Stability(Stable) public CfnOriginEndpointPropsMixin.HlsPackageProperty.Builder useAudioRenditionGroup(IResolvable useAudioRenditionGroup) - Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPropsMixin.HlsPackageProperty>- Returns:
- a new instance of
CfnOriginEndpointPropsMixin.HlsPackageProperty - Throws:
NullPointerException- if any required attribute was not provided
-