Role Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. deviceupdate. models. Role
- com.
- com.
public final class Role
extends ExpandableStringEnum<Role>
Whether the location is primary or failover.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Role |
FAILOVER
Static value Failover for Role. |
| static final Role |
PRIMARY
Static value Primary for Role. |
Constructor Summary
| Constructor | Description | |
|---|---|---|
| Role() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Role |
fromString(String name)
Creates or finds a Role from its string representation. |
| static Collection<Role> |
values()
Gets known Role values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FAILOVER
public static final Role FAILOVER
Static value Failover for Role.
PRIMARY
public static final Role PRIMARY
Static value Primary for Role.
Constructor Details
Role
public Role()
Method Details
fromString
public static Role fromString(String name)
Creates or finds a Role from its string representation.
Parameters:
Returns:
values
public static Collection<Role> values()
Gets known Role values.
Returns: