java.lang.Object
com.azure.core.util.ExpandableStringEnum<Role>
com.azure.resourcemanager.peering.models.Role
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class Role extends com.azure.core.util.ExpandableStringEnum<Role>
The role of the contact.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Role
    Static value Escalation for Role.
    static final Role
    Static value Noc for Role.
    static final Role
    Static value Other for Role.
    static final Role
    Static value Policy for Role.
    static final Role
    Static value Service for Role.
    static final Role
    Static value Technical for Role.
  • Constructor Summary

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

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

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

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

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

    • NOC

      public static final Role NOC
      Static value Noc for Role.
    • POLICY

      public static final Role POLICY
      Static value Policy for Role.
    • TECHNICAL

      public static final Role TECHNICAL
      Static value Technical for Role.
    • SERVICE

      public static final Role SERVICE
      Static value Service for Role.
    • ESCALATION

      public static final Role ESCALATION
      Static value Escalation for Role.
    • OTHER

      public static final Role OTHER
      Static value Other for Role.
  • Constructor Details

  • Method Details

    • 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()
      Gets known Role values.
      Returns:
      known Role values.