org.virtualbox_5_2
Enum NetworkAttachmentType

java.lang.Object
  extended by java.lang.Enum<NetworkAttachmentType>
      extended by org.virtualbox_5_2.NetworkAttachmentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NetworkAttachmentType>

public enum NetworkAttachmentType
extends java.lang.Enum<NetworkAttachmentType>

Network attachment type. Interface ID: {524A8F9D-4B86-4B51-877D-1AA27C4EBEAC}


Enum Constant Summary
Bridged
           
Generic
           
HostOnly
           
Internal
           
NAT
           
NATNetwork
           
Null
          Null value, also means "not attached".
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Null

public static final NetworkAttachmentType Null
Null value, also means "not attached".


NAT

public static final NetworkAttachmentType NAT

Bridged

public static final NetworkAttachmentType Bridged

Internal

public static final NetworkAttachmentType Internal

HostOnly

public static final NetworkAttachmentType HostOnly

Generic

public static final NetworkAttachmentType Generic

NATNetwork

public static final NetworkAttachmentType NATNetwork
Method Detail

values

public static NetworkAttachmentType[] 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 (NetworkAttachmentType c : NetworkAttachmentType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NetworkAttachmentType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static NetworkAttachmentType fromValue(long v)

fromValue

public static NetworkAttachmentType fromValue(java.lang.String v)