SyncConflictResolutionPolicy Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<SyncConflictResolutionPolicy>
      • com.microsoft.azure.management.sql.SyncConflictResolutionPolicy

public class SyncConflictResolutionPolicy

Defines values for SyncConflictResolutionPolicy.

Field Summary

Modifier and Type Field and Description
final SyncConflictResolutionPolicy HUB_WIN

Static value HubWin for SyncConflictResolutionPolicy.

final SyncConflictResolutionPolicy MEMBER_WIN

Static value MemberWin for SyncConflictResolutionPolicy.

Method Summary

Modifier and Type Method and Description
SyncConflictResolutionPolicy fromString(String name)

Creates or finds a SyncConflictResolutionPolicy from its string representation.

Collection<SyncConflictResolutionPolicy> values()

Field Details

HUB_WIN

public static final SyncConflictResolutionPolicy HUB_WIN= fromString("HubWin")

Static value HubWin for SyncConflictResolutionPolicy.

MEMBER_WIN

public static final SyncConflictResolutionPolicy MEMBER_WIN= fromString("MemberWin")

Static value MemberWin for SyncConflictResolutionPolicy.

Method Details

fromString

public static SyncConflictResolutionPolicy fromString(String name)

Creates or finds a SyncConflictResolutionPolicy from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding SyncConflictResolutionPolicy

values

public static Collection values()

Returns:

known SyncConflictResolutionPolicy values

Applies to