ConflictResolutionMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.models.ConflictResolutionMode

public enum ConflictResolutionMode
extends Enum<ConflictResolutionMode>

The enum Conflict resolution mode.

Fields

CUSTOM

CUSTOM conflict resolution mode

INVALID

INVALID or unknown mode.

LAST_WRITER_WINS

Last writer wins conflict resolution mode Setting the ConflictResolutionMode to "LAST_WRITER_WINS" indicates that conflict resolution should be done by inspecting a field in the conflicting items and picking the item which has the higher value in that path.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ConflictResolutionMode valueOf(String name)

Parameters

name
String

Returns

values()

public static ConflictResolutionMode[] values()

Returns

Applies to