public static enum PortForwardingRule.Protocol extends Enum<PortForwardingRule.Protocol>
| Modifier and Type | Method and Description |
|---|---|
static PortForwardingRule.Protocol |
fromValue(String value) |
String |
toString() |
static PortForwardingRule.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortForwardingRule.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortForwardingRule.Protocol TCP
public static final PortForwardingRule.Protocol UDP
public static final PortForwardingRule.Protocol ICMP
public static final PortForwardingRule.Protocol UNKNOWN
public static PortForwardingRule.Protocol[] values()
for (PortForwardingRule.Protocol c : PortForwardingRule.Protocol.values()) System.out.println(c);
public static PortForwardingRule.Protocol 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 PortForwardingRule.Protocol fromValue(String value)
public String toString()
toString in class Enum<PortForwardingRule.Protocol>Copyright © 2009-2013 jclouds. All Rights Reserved.