Class ReportTimeframeType

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

public final class ReportTimeframeType extends com.azure.core.util.ExpandableStringEnum<ReportTimeframeType>
The time frame for pulling data for the report. If custom, then a specific time period must be provided.
  • Field Details

    • WEEK_TO_DATE

      public static final ReportTimeframeType WEEK_TO_DATE
      Static value WeekToDate for ReportTimeframeType.
    • MONTH_TO_DATE

      public static final ReportTimeframeType MONTH_TO_DATE
      Static value MonthToDate for ReportTimeframeType.
    • YEAR_TO_DATE

      public static final ReportTimeframeType YEAR_TO_DATE
      Static value YearToDate for ReportTimeframeType.
    • CUSTOM

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

    • ReportTimeframeType

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

    • fromString

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

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