public static enum Route.RouteState extends Enum<Route.RouteState>
Enum Constant and Description |
---|
ACTIVE
An active route.
|
BLACKHOLE
Indicates that the route's target isn't available (for example, the specified gateway isn't attached
to the VPC, or the specified NAT instance has been terminated).
|
UNRECOGNIZED
Value supplied was not valid.
|
Modifier and Type | Method and Description |
---|---|
static Route.RouteState |
fromValue(String v) |
String |
value() |
static Route.RouteState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Route.RouteState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Route.RouteState ACTIVE
public static final Route.RouteState BLACKHOLE
public static final Route.RouteState UNRECOGNIZED
public static Route.RouteState[] values()
for (Route.RouteState c : Route.RouteState.values()) System.out.println(c);
public static Route.RouteState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static Route.RouteState fromValue(String v)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.