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

com.azure.resourcemanager.network.models.ConnectionState Maven / Gradle / Ivy

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

package com.azure.resourcemanager.network.models;

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

/**
 * The connection state.
 */
public final class ConnectionState extends ExpandableStringEnum {
    /**
     * Static value Reachable for ConnectionState.
     */
    public static final ConnectionState REACHABLE = fromString("Reachable");

    /**
     * Static value Unreachable for ConnectionState.
     */
    public static final ConnectionState UNREACHABLE = fromString("Unreachable");

    /**
     * Static value Unknown for ConnectionState.
     */
    public static final ConnectionState UNKNOWN = fromString("Unknown");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy