Enum Network.NetworkType
- java.lang.Object
-
- java.lang.Enum<Network.NetworkType>
-
- org.jclouds.googlecomputeengine.domain.Network.NetworkType
-
- All Implemented Interfaces:
Serializable
,Comparable<Network.NetworkType>
- Enclosing class:
- Network
public static enum Network.NetworkType extends Enum<Network.NetworkType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AutoSubnetwork
CustomNetwork
LegacyNetwork
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Network.NetworkType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Network.NetworkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LegacyNetwork
public static final Network.NetworkType LegacyNetwork
-
AutoSubnetwork
public static final Network.NetworkType AutoSubnetwork
-
CustomNetwork
public static final Network.NetworkType CustomNetwork
-
-
Method Detail
-
values
public static Network.NetworkType[] 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 (Network.NetworkType c : Network.NetworkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Network.NetworkType 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
-
-