ConflictResolutionMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. ConflictResolutionMode
- com.
- com.
public final class ConflictResolutionMode
extends ExpandableStringEnum<ConflictResolutionMode>
Indicates the conflict resolution mode.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Conflict |
CUSTOM
Static value Custom for Conflict |
static final
Conflict |
LAST_WRITER_WINS
Static value Last |
Constructor Summary
Constructor | Description |
---|---|
ConflictResolutionMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Conflict |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Conflict |
fromString(String name)
Creates or finds a Conflict |
static
Collection<Conflict |
values()
Gets known Conflict |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CUSTOM
public static final ConflictResolutionMode CUSTOM
Static value Custom for ConflictResolutionMode.
LAST_WRITER_WINS
public static final ConflictResolutionMode LAST_WRITER_WINS
Static value LastWriterWins for ConflictResolutionMode.
Constructor Details
ConflictResolutionMode
@Deprecated
public ConflictResolutionMode()
Deprecated
Creates a new instance of ConflictResolutionMode value.
Method Details
fromString
public static ConflictResolutionMode fromString(String name)
Creates or finds a ConflictResolutionMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ConflictResolutionMode values.
Returns:
Applies to
Azure SDK for Java