Class ForecastTimeframe

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

public final class ForecastTimeframe extends com.azure.core.util.ExpandableStringEnum<ForecastTimeframe>
The time frame for pulling data for the forecast.
  • Field Details

    • CUSTOM

      public static final ForecastTimeframe CUSTOM
      Static value Custom for ForecastTimeframe.
  • Constructor Details

    • ForecastTimeframe

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

    • fromString

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

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