public enum NatPolicy extends Enum<NatPolicy>
| Enum Constant and Description | 
|---|
| ALLOW_TRAFFICpackets of this type pass through the firewall in both directions | 
| ALLOW_TRAFFIC_INonly inbound packets of this type pass through the firewall | 
| UNRECOGNIZED | 
| Modifier and Type | Method and Description | 
|---|---|
| static NatPolicy | fromValue(String policy) | 
| String | toString() | 
| String | value() | 
| static NatPolicy | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NatPolicy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final NatPolicy ALLOW_TRAFFIC
public static final NatPolicy ALLOW_TRAFFIC_IN
public static final NatPolicy UNRECOGNIZED
public static NatPolicy[] values()
for (NatPolicy c : NatPolicy.values()) System.out.println(c);
public static NatPolicy 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-2012 jclouds. All Rights Reserved.