Enum Class EmphasisLevel

java.lang.Object
java.lang.Enum<EmphasisLevel>
io.micronaut.aws.alexa.ssml.EmphasisLevel
All Implemented Interfaces:
Serializable, Comparable<EmphasisLevel>, Constable

public enum EmphasisLevel extends Enum<EmphasisLevel>
Since:
2.0.0
Author:
sdelamo
See Also:
  • Enum Constant Details

    • STRONG

      public static final EmphasisLevel STRONG
      Increase the value and slow down the speaking rate so the speech is louder and slower.
    • MODERATE

      public static final EmphasisLevel MODERATE
      Increase the value and slow down the speaking rate, but not as much as when set to strong, this is used as a default if level is not provided.
    • REDUCED

      public static final EmphasisLevel REDUCED
      Decrease the value and speed up the speaking rate. The speech is softer and faster.
  • Method Details

    • values

      public static EmphasisLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EmphasisLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<EmphasisLevel>