Enum ForwardingRule.IPProtocol
- java.lang.Object
-
- java.lang.Enum<ForwardingRule.IPProtocol>
-
- org.jclouds.googlecomputeengine.domain.ForwardingRule.IPProtocol
-
- All Implemented Interfaces:
Serializable
,Comparable<ForwardingRule.IPProtocol>
- Enclosing class:
- ForwardingRule
public static enum ForwardingRule.IPProtocol extends Enum<ForwardingRule.IPProtocol>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ForwardingRule.IPProtocol
valueOf(String name)
Returns the enum constant of this type with the specified name.static ForwardingRule.IPProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AH
public static final ForwardingRule.IPProtocol AH
IP Authentication Header protocol.
-
ESP
public static final ForwardingRule.IPProtocol ESP
IP Encapsulating Security Payload protocol.
-
SCTP
public static final ForwardingRule.IPProtocol SCTP
Stream Control Transmission Protocol.
-
TCP
public static final ForwardingRule.IPProtocol TCP
Transmission Control Protocol.
-
UDP
public static final ForwardingRule.IPProtocol UDP
Specifies the User Datagram Protocol.
-
-
Method Detail
-
values
public static ForwardingRule.IPProtocol[] 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 (ForwardingRule.IPProtocol c : ForwardingRule.IPProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForwardingRule.IPProtocol 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
-
-