@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HlsPackage extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
HlsPackage() |
Modifier and Type | Method and Description |
---|---|
HlsPackage |
clone() |
boolean |
equals(Object obj) |
String |
getAdMarkers()
This setting controls how ad markers are included in the packaged OriginEndpoint.
|
String |
getAdsOnDeliveryRestrictions() |
List<String> |
getAdTriggers() |
HlsEncryption |
getEncryption() |
Boolean |
getIncludeDvbSubtitles()
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
|
Boolean |
getIncludeIframeOnlyStream()
When enabled, an I-Frame only stream will be included in the output.
|
String |
getPlaylistType()
The HTTP Live Streaming (HLS) playlist type.
|
Integer |
getPlaylistWindowSeconds()
Time window (in seconds) contained in each parent manifest.
|
Integer |
getProgramDateTimeIntervalSeconds()
The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests.
|
Integer |
getSegmentDurationSeconds()
Duration (in seconds) of each fragment.
|
StreamSelection |
getStreamSelection() |
Boolean |
getUseAudioRenditionGroup()
When enabled, audio streams will be placed in rendition groups in the output.
|
int |
hashCode() |
Boolean |
isIncludeDvbSubtitles()
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
|
Boolean |
isIncludeIframeOnlyStream()
When enabled, an I-Frame only stream will be included in the output.
|
Boolean |
isUseAudioRenditionGroup()
When enabled, audio streams will be placed in rendition groups in the output.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdMarkers(String adMarkers)
This setting controls how ad markers are included in the packaged OriginEndpoint.
|
void |
setAdsOnDeliveryRestrictions(String adsOnDeliveryRestrictions) |
void |
setAdTriggers(Collection<String> adTriggers) |
void |
setEncryption(HlsEncryption encryption) |
void |
setIncludeDvbSubtitles(Boolean includeDvbSubtitles)
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
|
void |
setIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
When enabled, an I-Frame only stream will be included in the output.
|
void |
setPlaylistType(String playlistType)
The HTTP Live Streaming (HLS) playlist type.
|
void |
setPlaylistWindowSeconds(Integer playlistWindowSeconds)
Time window (in seconds) contained in each parent manifest.
|
void |
setProgramDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds)
The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests.
|
void |
setSegmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each fragment.
|
void |
setStreamSelection(StreamSelection streamSelection) |
void |
setUseAudioRenditionGroup(Boolean useAudioRenditionGroup)
When enabled, audio streams will be placed in rendition groups in the output.
|
String |
toString()
Returns a string representation of this object.
|
HlsPackage |
withAdMarkers(AdMarkers adMarkers)
This setting controls how ad markers are included in the packaged OriginEndpoint.
|
HlsPackage |
withAdMarkers(String adMarkers)
This setting controls how ad markers are included in the packaged OriginEndpoint.
|
HlsPackage |
withAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions adsOnDeliveryRestrictions) |
HlsPackage |
withAdsOnDeliveryRestrictions(String adsOnDeliveryRestrictions) |
HlsPackage |
withAdTriggers(AdTriggersElement... adTriggers) |
HlsPackage |
withAdTriggers(Collection<String> adTriggers) |
HlsPackage |
withAdTriggers(String... adTriggers)
NOTE: This method appends the values to the existing list (if any).
|
HlsPackage |
withEncryption(HlsEncryption encryption) |
HlsPackage |
withIncludeDvbSubtitles(Boolean includeDvbSubtitles)
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
|
HlsPackage |
withIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
When enabled, an I-Frame only stream will be included in the output.
|
HlsPackage |
withPlaylistType(PlaylistType playlistType)
The HTTP Live Streaming (HLS) playlist type.
|
HlsPackage |
withPlaylistType(String playlistType)
The HTTP Live Streaming (HLS) playlist type.
|
HlsPackage |
withPlaylistWindowSeconds(Integer playlistWindowSeconds)
Time window (in seconds) contained in each parent manifest.
|
HlsPackage |
withProgramDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds)
The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests.
|
HlsPackage |
withSegmentDurationSeconds(Integer segmentDurationSeconds)
Duration (in seconds) of each fragment.
|
HlsPackage |
withStreamSelection(StreamSelection streamSelection) |
HlsPackage |
withUseAudioRenditionGroup(Boolean useAudioRenditionGroup)
When enabled, audio streams will be placed in rendition groups in the output.
|
public void setAdMarkers(String adMarkers)
adMarkers
- This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED"
generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts
EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this
option, you must set a programDateTimeIntervalSeconds value that is greater than 0.AdMarkers
public String getAdMarkers()
AdMarkers
public HlsPackage withAdMarkers(String adMarkers)
adMarkers
- This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED"
generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts
EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this
option, you must set a programDateTimeIntervalSeconds value that is greater than 0.AdMarkers
public HlsPackage withAdMarkers(AdMarkers adMarkers)
adMarkers
- This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED"
generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts
EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this
option, you must set a programDateTimeIntervalSeconds value that is greater than 0.AdMarkers
public List<String> getAdTriggers()
AdTriggersElement
public void setAdTriggers(Collection<String> adTriggers)
adTriggers
- AdTriggersElement
public HlsPackage withAdTriggers(String... adTriggers)
NOTE: This method appends the values to the existing list (if any). Use
setAdTriggers(java.util.Collection)
or withAdTriggers(java.util.Collection)
if you want to
override the existing values.
adTriggers
- AdTriggersElement
public HlsPackage withAdTriggers(Collection<String> adTriggers)
adTriggers
- AdTriggersElement
public HlsPackage withAdTriggers(AdTriggersElement... adTriggers)
adTriggers
- AdTriggersElement
public void setAdsOnDeliveryRestrictions(String adsOnDeliveryRestrictions)
adsOnDeliveryRestrictions
- AdsOnDeliveryRestrictions
public String getAdsOnDeliveryRestrictions()
AdsOnDeliveryRestrictions
public HlsPackage withAdsOnDeliveryRestrictions(String adsOnDeliveryRestrictions)
adsOnDeliveryRestrictions
- AdsOnDeliveryRestrictions
public HlsPackage withAdsOnDeliveryRestrictions(AdsOnDeliveryRestrictions adsOnDeliveryRestrictions)
adsOnDeliveryRestrictions
- AdsOnDeliveryRestrictions
public void setEncryption(HlsEncryption encryption)
encryption
- public HlsEncryption getEncryption()
public HlsPackage withEncryption(HlsEncryption encryption)
encryption
- public void setIncludeDvbSubtitles(Boolean includeDvbSubtitles)
includeDvbSubtitles
- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.public Boolean getIncludeDvbSubtitles()
public HlsPackage withIncludeDvbSubtitles(Boolean includeDvbSubtitles)
includeDvbSubtitles
- When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.public Boolean isIncludeDvbSubtitles()
public void setIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
includeIframeOnlyStream
- When enabled, an I-Frame only stream will be included in the output.public Boolean getIncludeIframeOnlyStream()
public HlsPackage withIncludeIframeOnlyStream(Boolean includeIframeOnlyStream)
includeIframeOnlyStream
- When enabled, an I-Frame only stream will be included in the output.public Boolean isIncludeIframeOnlyStream()
public void setPlaylistType(String playlistType)
playlistType
- The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding
EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.PlaylistType
public String getPlaylistType()
PlaylistType
public HlsPackage withPlaylistType(String playlistType)
playlistType
- The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding
EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.PlaylistType
public HlsPackage withPlaylistType(PlaylistType playlistType)
playlistType
- The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding
EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.PlaylistType
public void setPlaylistWindowSeconds(Integer playlistWindowSeconds)
playlistWindowSeconds
- Time window (in seconds) contained in each parent manifest.public Integer getPlaylistWindowSeconds()
public HlsPackage withPlaylistWindowSeconds(Integer playlistWindowSeconds)
playlistWindowSeconds
- Time window (in seconds) contained in each parent manifest.public void setProgramDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds)
programDateTimeIntervalSeconds
- The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally,
when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the
ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME
tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that
irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it
will be passed through to HLS output.public Integer getProgramDateTimeIntervalSeconds()
public HlsPackage withProgramDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds)
programDateTimeIntervalSeconds
- The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally,
when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the
ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME
tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that
irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it
will be passed through to HLS output.public void setSegmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds
- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
source fragment duration.public Integer getSegmentDurationSeconds()
public HlsPackage withSegmentDurationSeconds(Integer segmentDurationSeconds)
segmentDurationSeconds
- Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
source fragment duration.public void setStreamSelection(StreamSelection streamSelection)
streamSelection
- public StreamSelection getStreamSelection()
public HlsPackage withStreamSelection(StreamSelection streamSelection)
streamSelection
- public void setUseAudioRenditionGroup(Boolean useAudioRenditionGroup)
useAudioRenditionGroup
- When enabled, audio streams will be placed in rendition groups in the output.public Boolean getUseAudioRenditionGroup()
public HlsPackage withUseAudioRenditionGroup(Boolean useAudioRenditionGroup)
useAudioRenditionGroup
- When enabled, audio streams will be placed in rendition groups in the output.public Boolean isUseAudioRenditionGroup()
public String toString()
toString
in class Object
Object.toString()
public HlsPackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.