java.lang.Object
com.azure.core.util.ExpandableStringEnum<Term>
com.azure.resourcemanager.costmanagement.models.Term

public final class Term extends com.azure.core.util.ExpandableStringEnum<Term>
Grain which corresponds to value.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Term
    Static value P1Y for Term.
    static final Term
    Static value P3Y for Term.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Term
    Creates or finds a Term from its string representation.
    Gets known Term values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • P1Y

      public static final Term P1Y
      Static value P1Y for Term.
    • P3Y

      public static final Term P3Y
      Static value P3Y for Term.
  • Constructor Details

  • Method Details

    • fromString

      public static Term fromString(String name)
      Creates or finds a Term from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Term.
    • values

      public static Collection<Term> values()
      Gets known Term values.
      Returns:
      known Term values.