Enum WavFormat

  • All Implemented Interfaces:
    Serializable, Comparable<WavFormat>

    @Generated("software.amazon.awssdk:codegen")
    public enum WavFormat
    extends Enum<WavFormat>
    Specify the file format for your wave audio output. To use a RIFF wave format: Keep the default value, RIFF. If your output audio is likely to exceed 4GB in file size, or if you otherwise need the extended support of the RF64 format: Choose RF64. If your player only supports the extensible wave format: Choose Extensible.
    • Enum Constant Detail

      • EXTENSIBLE

        public static final WavFormat EXTENSIBLE
      • UNKNOWN_TO_SDK_VERSION

        public static final WavFormat UNKNOWN_TO_SDK_VERSION
    • Method Detail

      • values

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

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