Package org.openstack4j.model.manila
Enum ShareNetwork.NetworkType
- java.lang.Object
-
- java.lang.Enum<ShareNetwork.NetworkType>
-
- org.openstack4j.model.manila.ShareNetwork.NetworkType
-
- All Implemented Interfaces:
Serializable,Comparable<ShareNetwork.NetworkType>
- Enclosing interface:
- ShareNetwork
public static enum ShareNetwork.NetworkType extends Enum<ShareNetwork.NetworkType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()static ShareNetwork.NetworkTypevalue(String v)static ShareNetwork.NetworkTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ShareNetwork.NetworkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VLAN
public static final ShareNetwork.NetworkType VLAN
-
VXLAN
public static final ShareNetwork.NetworkType VXLAN
-
GRE
public static final ShareNetwork.NetworkType GRE
-
FLAT
public static final ShareNetwork.NetworkType FLAT
-
-
Method Detail
-
values
public static ShareNetwork.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 (ShareNetwork.NetworkType c : ShareNetwork.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 ShareNetwork.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
-
value
public static ShareNetwork.NetworkType value(String v)
-
value
public String value()
-
-