com.azure.resourcemanager.network.models.VpnConnectionStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// 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 com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* The current state of the vpn connection.
*/
public final class VpnConnectionStatus extends ExpandableStringEnum {
/**
* Static value Unknown for VpnConnectionStatus.
*/
public static final VpnConnectionStatus UNKNOWN = fromString("Unknown");
/**
* Static value Connecting for VpnConnectionStatus.
*/
public static final VpnConnectionStatus CONNECTING = fromString("Connecting");
/**
* Static value Connected for VpnConnectionStatus.
*/
public static final VpnConnectionStatus CONNECTED = fromString("Connected");
/**
* Static value NotConnected for VpnConnectionStatus.
*/
public static final VpnConnectionStatus NOT_CONNECTED = fromString("NotConnected");
/**
* Creates a new instance of VpnConnectionStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public VpnConnectionStatus() {
}
/**
* Creates or finds a VpnConnectionStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding VpnConnectionStatus.
*/
@JsonCreator
public static VpnConnectionStatus fromString(String name) {
return fromString(name, VpnConnectionStatus.class);
}
/**
* Gets known VpnConnectionStatus values.
*
* @return known VpnConnectionStatus values.
*/
public static Collection values() {
return values(VpnConnectionStatus.class);
}
}