HubRoutingPreference Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. HubRoutingPreference
- com.
- com.
public final class HubRoutingPreference
extends ExpandableStringEnum<HubRoutingPreference>
The hub routing preference gateway types.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Hub |
ASPATH
Static value ASPath for Hub |
static final
Hub |
EXPRESS_ROUTE
Static value Express |
static final
Hub |
VPN_GATEWAY
Static value Vpn |
Constructor Summary
Constructor | Description |
---|---|
HubRoutingPreference() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Hub |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Hub |
fromString(String name)
Creates or finds a Hub |
static
Collection<Hub |
values()
Gets known Hub |
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
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:
Returns:
values
public static Collection
Gets known HubRoutingPreference values.
Returns:
Applies to
Azure SDK for Java