Class HlsManifest
- java.lang.Object
-
- software.amazon.awssdk.services.mediapackage.model.HlsManifest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HlsManifest.Builder,HlsManifest>
@Generated("software.amazon.awssdk:codegen") public final class HlsManifest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HlsManifest.Builder,HlsManifest>
A HTTP Live Streaming (HLS) manifest configuration.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHlsManifest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdMarkersadMarkers()This setting controls how ad markers are included in the packaged OriginEndpoint.StringadMarkersAsString()This setting controls how ad markers are included in the packaged OriginEndpoint.AdsOnDeliveryRestrictionsadsOnDeliveryRestrictions()Returns the value of the AdsOnDeliveryRestrictions property for this object.StringadsOnDeliveryRestrictionsAsString()Returns the value of the AdsOnDeliveryRestrictions property for this object.List<AdTriggersElement>adTriggers()Returns the value of the AdTriggers property for this object.List<String>adTriggersAsStrings()Returns the value of the AdTriggers property for this object.static HlsManifest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAdTriggers()For responses, this returns true if the service returned a value for the AdTriggers property.inthashCode()Stringid()The ID of the manifest.BooleanincludeIframeOnlyStream()When enabled, an I-Frame only stream will be included in the output.StringmanifestName()An optional short string appended to the end of the OriginEndpoint URL.PlaylistTypeplaylistType()The HTTP Live Streaming (HLS) playlist type.StringplaylistTypeAsString()The HTTP Live Streaming (HLS) playlist type.IntegerplaylistWindowSeconds()Time window (in seconds) contained in each parent manifest.IntegerprogramDateTimeIntervalSeconds()The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests.List<SdkField<?>>sdkFields()static Class<? extends HlsManifest.Builder>serializableBuilderClass()HlsManifest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()The URL of the packaged OriginEndpoint for consumption.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
adMarkers
public final 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.If the service returns an enum value that is not available in the current SDK version,
adMarkerswill returnAdMarkers.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadMarkersAsString().- Returns:
- 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.
- See Also:
AdMarkers
-
adMarkersAsString
public final String adMarkersAsString()
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.If the service returns an enum value that is not available in the current SDK version,
adMarkerswill returnAdMarkers.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadMarkersAsString().- Returns:
- 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.
- See Also:
AdMarkers
-
id
public final String id()
The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.- Returns:
- The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.
-
includeIframeOnlyStream
public final Boolean includeIframeOnlyStream()
When enabled, an I-Frame only stream will be included in the output.- Returns:
- When enabled, an I-Frame only stream will be included in the output.
-
manifestName
public final String manifestName()
An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint.- Returns:
- An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint.
-
playlistType
public final 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.If the service returns an enum value that is not available in the current SDK version,
playlistTypewill returnPlaylistType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplaylistTypeAsString().- Returns:
- 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.
- See Also:
PlaylistType
-
playlistTypeAsString
public final String playlistTypeAsString()
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.If the service returns an enum value that is not available in the current SDK version,
playlistTypewill returnPlaylistType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplaylistTypeAsString().- Returns:
- 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.
- See Also:
PlaylistType
-
playlistWindowSeconds
public final Integer playlistWindowSeconds()
Time window (in seconds) contained in each parent manifest.- Returns:
- Time window (in seconds) contained in each parent manifest.
-
programDateTimeIntervalSeconds
public final Integer 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.- Returns:
- 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.
-
url
public final String url()
The URL of the packaged OriginEndpoint for consumption.- Returns:
- The URL of the packaged OriginEndpoint for consumption.
-
adTriggers
public final List<AdTriggersElement> adTriggers()
Returns the value of the AdTriggers property for this object.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAdTriggers()method.- Returns:
- The value of the AdTriggers property for this object.
-
hasAdTriggers
public final boolean hasAdTriggers()
For responses, this returns true if the service returned a value for the AdTriggers property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
adTriggersAsStrings
public final List<String> adTriggersAsStrings()
Returns the value of the AdTriggers property for this object.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAdTriggers()method.- Returns:
- The value of the AdTriggers property for this object.
-
adsOnDeliveryRestrictions
public final AdsOnDeliveryRestrictions adsOnDeliveryRestrictions()
Returns the value of the AdsOnDeliveryRestrictions property for this object.If the service returns an enum value that is not available in the current SDK version,
adsOnDeliveryRestrictionswill returnAdsOnDeliveryRestrictions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadsOnDeliveryRestrictionsAsString().- Returns:
- The value of the AdsOnDeliveryRestrictions property for this object.
- See Also:
AdsOnDeliveryRestrictions
-
adsOnDeliveryRestrictionsAsString
public final String adsOnDeliveryRestrictionsAsString()
Returns the value of the AdsOnDeliveryRestrictions property for this object.If the service returns an enum value that is not available in the current SDK version,
adsOnDeliveryRestrictionswill returnAdsOnDeliveryRestrictions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadsOnDeliveryRestrictionsAsString().- Returns:
- The value of the AdsOnDeliveryRestrictions property for this object.
- See Also:
AdsOnDeliveryRestrictions
-
toBuilder
public HlsManifest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HlsManifest.Builder,HlsManifest>
-
builder
public static HlsManifest.Builder builder()
-
serializableBuilderClass
public static Class<? extends HlsManifest.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-