Compartilhar via


RouteType Class

public final class RouteType
extends ExpandableStringEnum<RouteType>

The type of route this is: DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC - Static route set on the app only These values will be used for syncing an app's routes with those from a Virtual Network.

Field Summary

Modifier and Type Field and Description
static final RouteType DEFAULT

Static value DEFAULT for RouteType.

static final RouteType INHERITED

Static value INHERITED for RouteType.

static final RouteType STATIC

Static value STATIC for RouteType.

Constructor Summary

Constructor Description
RouteType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RouteType value.

Method Summary

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

Creates or finds a RouteType from its string representation.

static Collection<RouteType> values()

Gets known RouteType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DEFAULT

public static final RouteType DEFAULT

Static value DEFAULT for RouteType.

INHERITED

public static final RouteType INHERITED

Static value INHERITED for RouteType.

STATIC

public static final RouteType STATIC

Static value STATIC for RouteType.

Constructor Details

RouteType

@Deprecated
public RouteType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RouteType value.

Method Details

fromString

public static RouteType fromString(String name)

Creates or finds a RouteType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RouteType.

values

public static Collection values()

Gets known RouteType values.

Returns:

known RouteType values.

Applies to