LinkRole Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. LinkRole
- com.
- com.
public final class LinkRole
extends ExpandableStringEnum<LinkRole>
SQL server side link role.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Link |
PRIMARY
Primary. |
|
static final
Link |
SECONDARY
Secondary. |
Constructor Summary
| Constructor | Description |
|---|---|
| LinkRole() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Link |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Link |
fromString(String name)
Creates or finds a Link |
|
static
Collection<Link |
values()
Gets known Link |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIMARY
public static final LinkRole PRIMARY
Primary.
SECONDARY
public static final LinkRole SECONDARY
Secondary.
Constructor Details
LinkRole
@Deprecated
public LinkRole()
Deprecated
Creates a new instance of LinkRole value.
Method Details
fromString
public static LinkRole fromString(String name)
Creates or finds a LinkRole from its string representation.
Parameters:
Returns:
values
public static Collection<LinkRole> values()
Gets known LinkRole values.
Returns: