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
Modifier and TypeFieldDescriptionstatic final ReportTimeframeType
Static value Custom for ReportTimeframeType.static final ReportTimeframeType
Static value MonthToDate for ReportTimeframeType.static final ReportTimeframeType
Static value WeekToDate for ReportTimeframeType.static final ReportTimeframeType
Static value YearToDate for ReportTimeframeType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReportTimeframeType
fromString
(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.