public enum NatType extends Enum<NatType>
Enum Constant and Description |
---|
IP_TRANSLATION
NAT service implemented by IP address translation
|
PORT_FORWARDING
NAT service implemented by network port forwarding
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static NatType |
fromValue(String natType) |
String |
toString() |
String |
value() |
static NatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NatType IP_TRANSLATION
public static final NatType PORT_FORWARDING
public static final NatType UNRECOGNIZED
public static NatType[] values()
for (NatType c : NatType.values()) System.out.println(c);
public static NatType 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()
Copyright © 2009-2013 jclouds. All Rights Reserved.