Class UserRole

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UserRole>
com.azure.resourcemanager.logz.models.UserRole

public final class UserRole extends com.azure.core.util.ExpandableStringEnum<UserRole>
User roles on configured in Logz.io account.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final UserRole
    Static value Admin for UserRole.
    static final UserRole
    Static value None for UserRole.
    static final UserRole
    Static value User for UserRole.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static UserRole
    Creates or finds a UserRole from its string representation.
    Gets known UserRole values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • NONE

      public static final UserRole NONE
      Static value None for UserRole.
    • USER

      public static final UserRole USER
      Static value User for UserRole.
    • ADMIN

      public static final UserRole ADMIN
      Static value Admin for UserRole.
  • Constructor Details

  • Method Details

    • fromString

      public static UserRole fromString(String name)
      Creates or finds a UserRole from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UserRole.
    • values

      public static Collection<UserRole> values()
      Gets known UserRole values.
      Returns:
      known UserRole values.