Enum M2tsDataPtsControl

  • All Implemented Interfaces:
    Serializable, Comparable<M2tsDataPtsControl>

    @Generated("software.amazon.awssdk:codegen")
    public enum M2tsDataPtsControl
    extends Enum<M2tsDataPtsControl>
    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 to allow all PTS values.
    • Method Detail

      • values

        public static M2tsDataPtsControl[] 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 (M2tsDataPtsControl c : M2tsDataPtsControl.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static M2tsDataPtsControl 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 M2tsDataPtsControl 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:
        M2tsDataPtsControl corresponding to the value