Class HlsInputSettings

java.lang.Object
software.amazon.awssdk.services.medialive.model.HlsInputSettings
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<HlsInputSettings.Builder,HlsInputSettings>

@Generated("software.amazon.awssdk:codegen") public final class HlsInputSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HlsInputSettings.Builder,HlsInputSettings>
Hls Input Settings
See Also:
  • Method Details

    • bandwidth

      public final Integer bandwidth()
      When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.
      Returns:
      When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.
    • bufferSegments

      public final Integer bufferSegments()
      When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.
      Returns:
      When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.
    • retries

      public final Integer retries()
      The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.
      Returns:
      The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.
    • retryInterval

      public final Integer retryInterval()
      The number of seconds between retries when an attempt to read a manifest or segment fails.
      Returns:
      The number of seconds between retries when an attempt to read a manifest or segment fails.
    • scte35Source

      public final HlsScte35SourceType scte35Source()
      Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.

      If the service returns an enum value that is not available in the current SDK version, scte35Source will return HlsScte35SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scte35SourceAsString().

      Returns:
      Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
      See Also:
    • scte35SourceAsString

      public final String scte35SourceAsString()
      Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.

      If the service returns an enum value that is not available in the current SDK version, scte35Source will return HlsScte35SourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scte35SourceAsString().

      Returns:
      Identifies the source for the SCTE-35 messages that MediaLive will ingest. Messages can be ingested from the content segments (in the stream) or from tags in the playlist (the HLS manifest). MediaLive ignores SCTE-35 information in the source that is not selected.
      See Also:
    • toBuilder

      public HlsInputSettings.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<HlsInputSettings.Builder,HlsInputSettings>
      Returns:
      a builder for type T
    • builder

      public static HlsInputSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends HlsInputSettings.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.