Class ConflictResolutionMode

java.lang.Object
com.microsoft.rest.ExpandableStringEnum<ConflictResolutionMode>
com.microsoft.azure.management.cosmosdb.ConflictResolutionMode

public final class ConflictResolutionMode extends com.microsoft.rest.ExpandableStringEnum<ConflictResolutionMode>
Defines values for ConflictResolutionMode.
  • Field Details

    • LAST_WRITER_WINS

      public static final ConflictResolutionMode LAST_WRITER_WINS
      Static value LastWriterWins for ConflictResolutionMode.
    • CUSTOM

      public static final ConflictResolutionMode CUSTOM
      Static value Custom for ConflictResolutionMode.
  • Constructor Details

    • ConflictResolutionMode

      public ConflictResolutionMode()
  • Method Details

    • fromString

      public static ConflictResolutionMode fromString(String name)
      Creates or finds a ConflictResolutionMode from its string representation.
      Parameters:
      name - a name to look for
      Returns:
      the corresponding ConflictResolutionMode
    • values

      public static Collection<ConflictResolutionMode> values()
      Returns:
      known ConflictResolutionMode values