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

com.microsoft.azure.management.sql.ReplicationState Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Sql Management 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.sql;

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

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

    /** Static value SEEDING for ReplicationState. */
    public static final ReplicationState SEEDING = fromString("SEEDING");

    /** Static value CATCH_UP for ReplicationState. */
    public static final ReplicationState CATCH_UP = fromString("CATCH_UP");

    /** Static value SUSPENDED for ReplicationState. */
    public static final ReplicationState SUSPENDED = fromString("SUSPENDED");

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy