HubRoutingPreference Class

public final class HubRoutingPreference
extends ExpandableStringEnum<HubRoutingPreference>

The hub routing preference gateway types.

Field Summary

Modifier and Type Field and Description
static final HubRoutingPreference ASPATH

Static value ASPath for HubRoutingPreference.

static final HubRoutingPreference EXPRESS_ROUTE

Static value ExpressRoute for HubRoutingPreference.

static final HubRoutingPreference VPN_GATEWAY

Static value VpnGateway for HubRoutingPreference.

Constructor Summary

Constructor Description
HubRoutingPreference()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HubRoutingPreference value.

Method Summary

Modifier and Type Method and Description
static HubRoutingPreference fromString(String name)

Creates or finds a HubRoutingPreference from its string representation.

static Collection<HubRoutingPreference> values()

Gets known HubRoutingPreference values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ASPATH

public static final HubRoutingPreference ASPATH

Static value ASPath for HubRoutingPreference.

EXPRESS_ROUTE

public static final HubRoutingPreference EXPRESS_ROUTE

Static value ExpressRoute for HubRoutingPreference.

VPN_GATEWAY

public static final HubRoutingPreference VPN_GATEWAY

Static value VpnGateway for HubRoutingPreference.

Constructor Details

HubRoutingPreference

@Deprecated
public HubRoutingPreference()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HubRoutingPreference value.

Method Details

fromString

public static HubRoutingPreference fromString(String name)

Creates or finds a HubRoutingPreference from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HubRoutingPreference.

values

public static Collection values()

Gets known HubRoutingPreference values.

Returns:

known HubRoutingPreference values.

Applies to