Class TimeframeType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TimeframeType>
com.azure.resourcemanager.costmanagement.models.TimeframeType
The time frame for pulling data for the query. If custom, then a specific time period must be provided.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimeframeTypeStatic value BillingMonthToDate for TimeframeType.static final TimeframeTypeStatic value Custom for TimeframeType.static final TimeframeTypeStatic value MonthToDate for TimeframeType.static final TimeframeTypeStatic value TheLastBillingMonth for TimeframeType.static final TimeframeTypeStatic value TheLastMonth for TimeframeType.static final TimeframeTypeStatic value WeekToDate for TimeframeType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeframeTypefromString(String name) Creates or finds a TimeframeType from its string representation.static Collection<TimeframeType>values()Gets known TimeframeType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
MONTH_TO_DATE
Static value MonthToDate for TimeframeType. -
BILLING_MONTH_TO_DATE
Static value BillingMonthToDate for TimeframeType. -
THE_LAST_MONTH
Static value TheLastMonth for TimeframeType. -
THE_LAST_BILLING_MONTH
Static value TheLastBillingMonth for TimeframeType. -
WEEK_TO_DATE
Static value WeekToDate for TimeframeType. -
CUSTOM
Static value Custom for TimeframeType.
-
-
Constructor Details
-
TimeframeType
Deprecated.Use thefromString(String)factory method.Creates a new instance of TimeframeType value.
-
-
Method Details
-
fromString
Creates or finds a TimeframeType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding TimeframeType.
-
values
Gets known TimeframeType values.- Returns:
- known TimeframeType values.
-
fromString(String)factory method.