Class AlertSource
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlertSource>
com.azure.resourcemanager.costmanagement.models.AlertSource
Source of alert.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AlertSource
Static value Preset for AlertSource.static final AlertSource
Static value User for AlertSource. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AlertSource
fromString
(String name) Creates or finds a AlertSource from its string representation.static Collection<AlertSource>
values()
Gets known AlertSource values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PRESET
Static value Preset for AlertSource. -
USER
Static value User for AlertSource.
-
-
Constructor Details
-
AlertSource
Deprecated.Use thefromString(String)
factory method.Creates a new instance of AlertSource value.
-
-
Method Details
-
fromString
Creates or finds a AlertSource from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AlertSource.
-
values
Gets known AlertSource values.- Returns:
- known AlertSource values.
-
fromString(String)
factory method.