ReplicationMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. ReplicationMode
- com.
- com.
public final class ReplicationMode
extends ExpandableStringEnum<ReplicationMode>
The replication mode of a distributed availability group. Parameter will be ignored during link creation.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Replication |
ASYNC
Static value Async for Replication |
static final
Replication |
SYNC
Static value Sync for Replication |
Constructor Summary
Constructor | Description |
---|---|
ReplicationMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Replication |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Replication |
fromString(String name)
Creates or finds a Replication |
static
Collection<Replication |
values()
Gets known Replication |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ASYNC
public static final ReplicationMode ASYNC
Static value Async for ReplicationMode.
SYNC
public static final ReplicationMode SYNC
Static value Sync for ReplicationMode.
Constructor Details
ReplicationMode
@Deprecated
public ReplicationMode()
Deprecated
Creates a new instance of ReplicationMode value.
Method Details
fromString
public static ReplicationMode fromString(String name)
Creates or finds a ReplicationMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ReplicationMode values.
Returns:
Applies to
Azure SDK for Java