Class Role


  • public final class Role
    extends com.azure.core.util.ExpandableStringEnum<Role>
    Defines values for Role.
    • Field Detail

      • PRIMARY

        public static final Role PRIMARY
        Static value PRIMARY for Role.
      • SECONDARY

        public static final Role SECONDARY
        Static value SECONDARY for Role.
    • Constructor Detail

      • Role

        public Role()
    • Method Detail

      • fromString

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

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