public static enum RouteRule.RouteType extends Enum<RouteRule.RouteType> implements BmcEnum
A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the route table.
Enum Constant and Description |
---|
Local |
Static |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static RouteRule.RouteType |
create(String key) |
String |
getValue() |
static RouteRule.RouteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteRule.RouteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteRule.RouteType Static
public static final RouteRule.RouteType Local
public static final RouteRule.RouteType UnknownEnumValue
public static RouteRule.RouteType[] values()
for (RouteRule.RouteType c : RouteRule.RouteType.values()) System.out.println(c);
public static RouteRule.RouteType 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 static RouteRule.RouteType create(String key)
Copyright © 2016–2024. All rights reserved.