Enum M3u8DataPtsControl

  • All Implemented Interfaces:
    Serializable, Comparable<M3u8DataPtsControl>

    @Generated("software.amazon.awssdk:codegen")
    public enum M3u8DataPtsControl
    extends Enum<M3u8DataPtsControl>
    If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values). Keep the default value AUTO to allow all PTS values.
    • Method Detail

      • values

        public static M3u8DataPtsControl[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (M3u8DataPtsControl c : M3u8DataPtsControl.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static M3u8DataPtsControl valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromValue

        public static M3u8DataPtsControl fromValue​(String value)
        Use this in place of valueOf to convert the raw string returned by the service into the enum value.
        Parameters:
        value - real value
        Returns:
        M3u8DataPtsControl corresponding to the value