Enum CreateIPSecConnectionTunnelDetails.Routing
- java.lang.Object
-
- java.lang.Enum<CreateIPSecConnectionTunnelDetails.Routing>
-
- com.oracle.bmc.vnmonitoring.model.CreateIPSecConnectionTunnelDetails.Routing
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateIPSecConnectionTunnelDetails.Routing>
- Enclosing class:
- CreateIPSecConnectionTunnelDetails
public static enum CreateIPSecConnectionTunnelDetails.Routing extends Enum<CreateIPSecConnectionTunnelDetails.Routing> implements BmcEnum
The type of routing to use 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 CreateIPSecConnectionTunnelDetails.Routing
create(String key)
String
getValue()
static CreateIPSecConnectionTunnelDetails.Routing
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateIPSecConnectionTunnelDetails.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 CreateIPSecConnectionTunnelDetails.Routing Bgp
-
Static
public static final CreateIPSecConnectionTunnelDetails.Routing Static
-
Policy
public static final CreateIPSecConnectionTunnelDetails.Routing Policy
-
-
Method Detail
-
values
public static CreateIPSecConnectionTunnelDetails.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 (CreateIPSecConnectionTunnelDetails.Routing c : CreateIPSecConnectionTunnelDetails.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 CreateIPSecConnectionTunnelDetails.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 CreateIPSecConnectionTunnelDetails.Routing create(String key)
-
-