SyncAgentState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. SyncAgentState
- com.
- com.
public final class SyncAgentState
extends ExpandableStringEnum<SyncAgentState>
State of the sync agent.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Sync |
NEVER_CONNECTED
Never |
|
static final
Sync |
OFFLINE
Offline. |
|
static final
Sync |
ONLINE
Online. |
Constructor Summary
| Constructor | Description |
|---|---|
| SyncAgentState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Sync |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sync |
fromString(String name)
Creates or finds a Sync |
|
static
Collection<Sync |
values()
Gets known Sync |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NEVER_CONNECTED
public static final SyncAgentState NEVER_CONNECTED
NeverConnected.
OFFLINE
public static final SyncAgentState OFFLINE
Offline.
ONLINE
public static final SyncAgentState ONLINE
Online.
Constructor Details
SyncAgentState
@Deprecated
public SyncAgentState()
Deprecated
Creates a new instance of SyncAgentState value.
Method Details
fromString
public static SyncAgentState fromString(String name)
Creates or finds a SyncAgentState from its string representation.
Parameters:
Returns:
values
public static Collection<SyncAgentState> values()
Gets known SyncAgentState values.
Returns: