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