Enum IPSecConnectionTunnel.Routing
- java.lang.Object
-
- java.lang.Enum<IPSecConnectionTunnel.Routing>
-
- com.oracle.bmc.vnmonitoring.model.IPSecConnectionTunnel.Routing
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<IPSecConnectionTunnel.Routing>
- Enclosing class:
- IPSecConnectionTunnel
public static enum IPSecConnectionTunnel.Routing extends Enum<IPSecConnectionTunnel.Routing> implements BmcEnum
The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IPSecConnectionTunnel.Routing
create(String key)
String
getValue()
static IPSecConnectionTunnel.Routing
valueOf(String name)
Returns the enum constant of this type with the specified name.static IPSecConnectionTunnel.Routing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Bgp
public static final IPSecConnectionTunnel.Routing Bgp
-
Static
public static final IPSecConnectionTunnel.Routing Static
-
Policy
public static final IPSecConnectionTunnel.Routing Policy
-
-
Method Detail
-
values
public static IPSecConnectionTunnel.Routing[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IPSecConnectionTunnel.Routing c : IPSecConnectionTunnel.Routing.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IPSecConnectionTunnel.Routing valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static IPSecConnectionTunnel.Routing create(String key)
-
-