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
Static value Never |
static final
Sync |
OFFLINE
Static value Offline for Sync |
static final
Sync |
ONLINE
Static value Online for Sync |
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
Static value NeverConnected for SyncAgentState.
OFFLINE
public static final SyncAgentState OFFLINE
Static value Offline for SyncAgentState.
ONLINE
public static final SyncAgentState ONLINE
Static value Online for SyncAgentState.
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
Gets known SyncAgentState values.
Returns:
Applies to
Azure SDK for Java