java.lang.Object
java.lang.Enum<KpiFunctions>
com.azure.resourcemanager.customerinsights.models.KpiFunctions
All Implemented Interfaces:
Serializable, Comparable<KpiFunctions>, java.lang.constant.Constable

public enum KpiFunctions extends Enum<KpiFunctions>
The computation function for the KPI.
  • Enum Constant Details

    • SUM

      public static final KpiFunctions SUM
      Enum value Sum.
    • AVG

      public static final KpiFunctions AVG
      Enum value Avg.
    • MIN

      public static final KpiFunctions MIN
      Enum value Min.
    • MAX

      public static final KpiFunctions MAX
      Enum value Max.
    • LAST

      public static final KpiFunctions LAST
      Enum value Last.
    • COUNT

      public static final KpiFunctions COUNT
      Enum value Count.
    • NONE

      public static final KpiFunctions NONE
      Enum value None.
    • COUNT_DISTINCT

      public static final KpiFunctions COUNT_DISTINCT
      Enum value CountDistinct.
  • Method Details

    • values

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

      public static KpiFunctions 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
    • fromString

      public static KpiFunctions fromString(String value)
      Parses a serialized value to a KpiFunctions instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed KpiFunctions object, or null if unable to parse.
    • toString

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