Class Role
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Role>
com.azure.resourcemanager.peering.models.Role
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The role of the contact.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RoleStatic value Escalation for Role.static final RoleStatic value Noc for Role.static final RoleStatic value Other for Role.static final RoleStatic value Policy for Role.static final RoleStatic value Service for Role.static final RoleStatic value Technical for Role. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RolefromString(String name) Creates or finds a Role from its string representation.static Collection<Role> values()Gets known Role values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NOC
Static value Noc for Role. -
POLICY
Static value Policy for Role. -
TECHNICAL
Static value Technical for Role. -
SERVICE
Static value Service for Role. -
ESCALATION
Static value Escalation for Role. -
OTHER
Static value Other for Role.
-
-
Constructor Details
-
Role
Deprecated.Use thefromString(String)factory method.Creates a new instance of Role value.
-
-
Method Details
-
fromString
Creates or finds a Role from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding Role.
-
values
Gets known Role values.- Returns:
- known Role values.
-
fromString(String)factory method.