Class LookBackPeriod

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

public final class LookBackPeriod extends com.azure.core.util.ExpandableStringEnum<LookBackPeriod>
The number of days used to look back.
  • Field Details

    • LAST7DAYS

      public static final LookBackPeriod LAST7DAYS
      Static value Last7Days for LookBackPeriod.
    • LAST30DAYS

      public static final LookBackPeriod LAST30DAYS
      Static value Last30Days for LookBackPeriod.
    • LAST60DAYS

      public static final LookBackPeriod LAST60DAYS
      Static value Last60Days for LookBackPeriod.
  • Constructor Details

    • LookBackPeriod

      @Deprecated public LookBackPeriod()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of LookBackPeriod value.
  • Method Details

    • fromString

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

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