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