Enum Class TemplateKind

java.lang.Object
java.lang.Enum<TemplateKind>
com.influxdb.client.domain.TemplateKind
All Implemented Interfaces:
Serializable, Comparable<TemplateKind>, Constable

public enum TemplateKind extends Enum<TemplateKind>
Gets or Sets TemplateKind
  • Enum Constant Details

    • BUCKET

      public static final TemplateKind BUCKET
    • CHECK

      public static final TemplateKind CHECK
    • CHECKDEADMAN

      public static final TemplateKind CHECKDEADMAN
    • CHECKTHRESHOLD

      public static final TemplateKind CHECKTHRESHOLD
    • DASHBOARD

      public static final TemplateKind DASHBOARD
    • LABEL

      public static final TemplateKind LABEL
    • NOTIFICATIONENDPOINT

      public static final TemplateKind NOTIFICATIONENDPOINT
    • NOTIFICATIONENDPOINTHTTP

      public static final TemplateKind NOTIFICATIONENDPOINTHTTP
    • NOTIFICATIONENDPOINTPAGERDUTY

      public static final TemplateKind NOTIFICATIONENDPOINTPAGERDUTY
    • NOTIFICATIONENDPOINTSLACK

      public static final TemplateKind NOTIFICATIONENDPOINTSLACK
    • NOTIFICATIONRULE

      public static final TemplateKind NOTIFICATIONRULE
    • TASK

      public static final TemplateKind TASK
    • TELEGRAF

      public static final TemplateKind TELEGRAF
    • VARIABLE

      public static final TemplateKind VARIABLE
  • Method Details

    • values

      public static TemplateKind[] 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 TemplateKind 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
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TemplateKind>
    • fromValue

      public static TemplateKind fromValue(String text)