Class LookBackPeriod
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LookBackPeriod>
com.azure.resourcemanager.costmanagement.models.LookBackPeriod
The number of days used to look back.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LookBackPeriod
Static value Last30Days for LookBackPeriod.static final LookBackPeriod
Static value Last60Days for LookBackPeriod.static final LookBackPeriod
Static value Last7Days for LookBackPeriod. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LookBackPeriod
fromString
(String name) Creates or finds a LookBackPeriod from its string representation.static Collection<LookBackPeriod>
values()
Gets known LookBackPeriod values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
LAST7DAYS
Static value Last7Days for LookBackPeriod. -
LAST30DAYS
Static value Last30Days for LookBackPeriod. -
LAST60DAYS
Static value Last60Days for LookBackPeriod.
-
-
Constructor Details
-
LookBackPeriod
Deprecated.Use thefromString(String)
factory method.Creates a new instance of LookBackPeriod value.
-
-
Method Details
-
fromString
Creates or finds a LookBackPeriod from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding LookBackPeriod.
-
values
Gets known LookBackPeriod values.- Returns:
- known LookBackPeriod values.
-
fromString(String)
factory method.