Class Reason
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Reason>
com.azure.resourcemanager.digitaltwins.models.Reason
Defines values for Reason.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Reason
fromString
(String name) Creates or finds a Reason from its string representation.static Collection<Reason>
values()
Gets known Reason values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for Reason. -
ALREADY_EXISTS
Static value AlreadyExists for Reason.
-
-
Constructor Details
-
Reason
public Reason()
-
-
Method Details
-
fromString
Creates or finds a Reason from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding Reason.
-
values
Gets known Reason values.- Returns:
- known Reason values.
-