SyncConflictResolutionPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. SyncConflictResolutionPolicy
- com.
- com.
public final class SyncConflictResolutionPolicy
extends ExpandableStringEnum<SyncConflictResolutionPolicy>
Conflict resolution policy of the sync group.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Sync |
HUB_WIN
Static value Hub |
static final
Sync |
MEMBER_WIN
Static value Member |
Constructor Summary
Constructor | Description |
---|---|
SyncConflictResolutionPolicy() |
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
HUB_WIN
public static final SyncConflictResolutionPolicy HUB_WIN
Static value HubWin for SyncConflictResolutionPolicy.
MEMBER_WIN
public static final SyncConflictResolutionPolicy MEMBER_WIN
Static value MemberWin for SyncConflictResolutionPolicy.
Constructor Details
SyncConflictResolutionPolicy
@Deprecated
public SyncConflictResolutionPolicy()
Deprecated
Creates a new instance of SyncConflictResolutionPolicy value.
Method Details
fromString
public static SyncConflictResolutionPolicy fromString(String name)
Creates or finds a SyncConflictResolutionPolicy from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SyncConflictResolutionPolicy values.
Returns:
Applies to
Azure SDK for Java