All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.cosmosdb.ConflictResolutionMode Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure CosmosDB SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.cosmosdb;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for ConflictResolutionMode.
 */
public final class ConflictResolutionMode extends ExpandableStringEnum {
    /** Static value LastWriterWins for ConflictResolutionMode. */
    public static final ConflictResolutionMode LAST_WRITER_WINS = fromString("LastWriterWins");

    /** Static value Custom for ConflictResolutionMode. */
    public static final ConflictResolutionMode CUSTOM = fromString("Custom");

    /**
     * Creates or finds a ConflictResolutionMode from its string representation.
     * @param name a name to look for
     * @return the corresponding ConflictResolutionMode
     */
    @JsonCreator
    public static ConflictResolutionMode fromString(String name) {
        return fromString(name, ConflictResolutionMode.class);
    }

    /**
     * @return known ConflictResolutionMode values
     */
    public static Collection values() {
        return values(ConflictResolutionMode.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy