public static enum LaunchOptions.NetworkType extends Enum<LaunchOptions.NetworkType>
Emulation type for the physical network interface card (NIC).
E1000 - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.VFIO - Direct attached Virtual Function network controller. This is the networking type
when you launch an instance using hardware-assisted (SR-IOV) networking.PARAVIRTUALIZED - VM instances launch with paravirtualized devices using VirtIO drivers.| Enum Constant and Description |
|---|
E1000 |
Paravirtualized |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
Vfio |
| Modifier and Type | Method and Description |
|---|---|
static LaunchOptions.NetworkType |
create(String key) |
String |
getValue() |
static LaunchOptions.NetworkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LaunchOptions.NetworkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LaunchOptions.NetworkType E1000
public static final LaunchOptions.NetworkType Vfio
public static final LaunchOptions.NetworkType Paravirtualized
public static final LaunchOptions.NetworkType UnknownEnumValue
public static LaunchOptions.NetworkType[] values()
for (LaunchOptions.NetworkType c : LaunchOptions.NetworkType.values()) System.out.println(c);
public static LaunchOptions.NetworkType 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 getValue()
public static LaunchOptions.NetworkType create(String key)
Copyright © 2016–2021. All rights reserved.