Package org.openstack4j.model.network
Enum Ipv6AddressMode
- java.lang.Object
-
- java.lang.Enum<Ipv6AddressMode>
-
- org.openstack4j.model.network.Ipv6AddressMode
-
- All Implemented Interfaces:
Serializable,Comparable<Ipv6AddressMode>
public enum Ipv6AddressMode extends Enum<Ipv6AddressMode>
The IPv6 address modes specifies mechanisms for assigning IP addresses- Author:
- Taemin
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DHCPV6_STATEFULDHCPV6_STATELESSNULLSLAAC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ipv6AddressModeforValue(String value)StringgetIpv6AddressMode()static Ipv6AddressModevalueOf(String name)Returns the enum constant of this type with the specified name.static Ipv6AddressMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SLAAC
public static final Ipv6AddressMode SLAAC
-
DHCPV6_STATEFUL
public static final Ipv6AddressMode DHCPV6_STATEFUL
-
DHCPV6_STATELESS
public static final Ipv6AddressMode DHCPV6_STATELESS
-
NULL
public static final Ipv6AddressMode NULL
-
-
Method Detail
-
values
public static Ipv6AddressMode[] 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 (Ipv6AddressMode c : Ipv6AddressMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ipv6AddressMode 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
-
forValue
public static Ipv6AddressMode forValue(String value)
-
getIpv6AddressMode
public String getIpv6AddressMode()
-
-