public enum NetworkAttachmentType extends java.lang.Enum<NetworkAttachmentType>
{CBFD17FA-FDC3-4D1C-97EC-4674DA8D2A5D}
Enum Constant and Description |
---|
Bridged |
Cloud |
Generic |
HostOnly |
HostOnlyNetwork |
Internal |
NAT |
NATNetwork |
Null
Null value, also means "not attached".
|
Modifier and Type | Method and Description |
---|---|
static NetworkAttachmentType |
fromValue(long v) |
static NetworkAttachmentType |
fromValue(java.lang.String v) |
int |
value() |
static NetworkAttachmentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetworkAttachmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkAttachmentType Null
public static final NetworkAttachmentType NAT
public static final NetworkAttachmentType Bridged
public static final NetworkAttachmentType Internal
public static final NetworkAttachmentType HostOnly
public static final NetworkAttachmentType Generic
public static final NetworkAttachmentType NATNetwork
public static final NetworkAttachmentType Cloud
public static final NetworkAttachmentType HostOnlyNetwork
public static NetworkAttachmentType[] values()
for (NetworkAttachmentType c : NetworkAttachmentType.values()) System.out.println(c);
public static NetworkAttachmentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static NetworkAttachmentType fromValue(long v)
public static NetworkAttachmentType fromValue(java.lang.String v)