com.vmware.vcloud.sdk.constants
Enum NetworkAdapterType

java.lang.Object
  extended by java.lang.Enum<NetworkAdapterType>
      extended by com.vmware.vcloud.sdk.constants.NetworkAdapterType
All Implemented Interfaces:
Serializable, Comparable<NetworkAdapterType>

public enum NetworkAdapterType
extends Enum<NetworkAdapterType>

Network Adapter types

Since:
API 5.5, SDK 5.5
Author:
Ecosystem Engineering

Enum Constant Summary
E1000
          ETHERNET
FLEXIBLE
          Flexible
VLANCE
          Vlance
VMXNET
          vmxnet
VMXNET2
          VMXNET 2(Enhanced)
VMXNET3
          VMXNET 3
 
Method Summary
static NetworkAdapterType fromValue(String value)
           
 String value()
           
static NetworkAdapterType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NetworkAdapterType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

E1000

public static final NetworkAdapterType E1000
ETHERNET


VLANCE

public static final NetworkAdapterType VLANCE
Vlance


VMXNET

public static final NetworkAdapterType VMXNET
vmxnet


FLEXIBLE

public static final NetworkAdapterType FLEXIBLE
Flexible


VMXNET2

public static final NetworkAdapterType VMXNET2
VMXNET 2(Enhanced)


VMXNET3

public static final NetworkAdapterType VMXNET3
VMXNET 3

Method Detail

values

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

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

valueOf

public static NetworkAdapterType 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 name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static NetworkAdapterType fromValue(String value)


Copyright © 2016. All Rights Reserved.