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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ReportTimeframeTypeStatic value Custom for ReportTimeframeType.static final ReportTimeframeTypeStatic value MonthToDate for ReportTimeframeType.static final ReportTimeframeTypeStatic value WeekToDate for ReportTimeframeType.static final ReportTimeframeTypeStatic value YearToDate for ReportTimeframeType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReportTimeframeTypefromString(String name) Creates or finds a ReportTimeframeType from its string representation.static Collection<ReportTimeframeType>values()Gets known ReportTimeframeType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
WEEK_TO_DATE
Static value WeekToDate for ReportTimeframeType. -
MONTH_TO_DATE
Static value MonthToDate for ReportTimeframeType. -
YEAR_TO_DATE
Static value YearToDate for ReportTimeframeType. -
CUSTOM
Static value Custom for ReportTimeframeType.
-
-
Constructor Details
-
ReportTimeframeType
Deprecated.Use thefromString(String)factory method.Creates a new instance of ReportTimeframeType value.
-
-
Method Details
-
fromString
Creates or finds a ReportTimeframeType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ReportTimeframeType.
-
values
Gets known ReportTimeframeType values.- Returns:
- known ReportTimeframeType values.
-
fromString(String)factory method.