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

com.azure.resourcemanager.mysqlflexibleserver.models.ReplicationRole Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for MySql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. Package tag package-flexibleserver-2021-05-01.

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.mysqlflexibleserver.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The replication role.
 */
public final class ReplicationRole extends ExpandableStringEnum {
    /**
     * Static value None for ReplicationRole.
     */
    public static final ReplicationRole NONE = fromString("None");

    /**
     * Static value Source for ReplicationRole.
     */
    public static final ReplicationRole SOURCE = fromString("Source");

    /**
     * Static value Replica for ReplicationRole.
     */
    public static final ReplicationRole REPLICA = fromString("Replica");

    /**
     * Creates a new instance of ReplicationRole value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ReplicationRole() {
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy