Class UserRole
java.lang.Object
com.azure.core.util.ExpandableStringEnum<UserRole>
com.azure.resourcemanager.logz.models.UserRole
User roles on configured in Logz.io account.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserRole
fromString
(String name) Creates or finds a UserRole from its string representation.static Collection<UserRole>
values()
Gets known UserRole values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NONE
Static value None for UserRole. -
USER
Static value User for UserRole. -
ADMIN
Static value Admin for UserRole.
-
-
Constructor Details
-
UserRole
Deprecated.Use thefromString(String)
factory method.Creates a new instance of UserRole value.
-
-
Method Details
-
fromString
Creates or finds a UserRole from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding UserRole.
-
values
Gets known UserRole values.- Returns:
- known UserRole values.
-
fromString(String)
factory method.