java.lang.Object
java.lang.Enum<RoleTypes>
com.azure.resourcemanager.customerinsights.models.RoleTypes
All Implemented Interfaces:
Serializable, Comparable<RoleTypes>, java.lang.constant.Constable

public enum RoleTypes extends Enum<RoleTypes>
Type of roles.
  • Enum Constant Details

    • ADMIN

      public static final RoleTypes ADMIN
      Enum value Admin.
    • READER

      public static final RoleTypes READER
      Enum value Reader.
    • MANAGE_ADMIN

      public static final RoleTypes MANAGE_ADMIN
      Enum value ManageAdmin.
    • MANAGE_READER

      public static final RoleTypes MANAGE_READER
      Enum value ManageReader.
    • DATA_ADMIN

      public static final RoleTypes DATA_ADMIN
      Enum value DataAdmin.
    • DATA_READER

      public static final RoleTypes DATA_READER
      Enum value DataReader.
  • Method Details

    • values

      public static RoleTypes[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RoleTypes valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static RoleTypes fromString(String value)
      Parses a serialized value to a RoleTypes instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed RoleTypes object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<RoleTypes>