
com.azure.resourcemanager.network.models.PreferredRoutingGateway 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 preferred routing gateway types.
*/
public final class PreferredRoutingGateway extends ExpandableStringEnum {
/**
* Static value ExpressRoute for PreferredRoutingGateway.
*/
public static final PreferredRoutingGateway EXPRESS_ROUTE = fromString("ExpressRoute");
/**
* Static value VpnGateway for PreferredRoutingGateway.
*/
public static final PreferredRoutingGateway VPN_GATEWAY = fromString("VpnGateway");
/**
* Static value None for PreferredRoutingGateway.
*/
public static final PreferredRoutingGateway NONE = fromString("None");
/**
* Creates a new instance of PreferredRoutingGateway value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public PreferredRoutingGateway() {
}
/**
* Creates or finds a PreferredRoutingGateway from its string representation.
*
* @param name a name to look for.
* @return the corresponding PreferredRoutingGateway.
*/
public static PreferredRoutingGateway fromString(String name) {
return fromString(name, PreferredRoutingGateway.class);
}
/**
* Gets known PreferredRoutingGateway values.
*
* @return known PreferredRoutingGateway values.
*/
public static Collection values() {
return values(PreferredRoutingGateway.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy