@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class LaunchOptions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Options for tuning the compatibility and performance of VM shapes. The values that you specify
override any default values.
Note: Objects should always be created or deserialized using the LaunchOptions.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the LaunchOptions.Builder
, which maintain a
set of all explicitly set fields called LaunchOptions.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
LaunchOptions.BootVolumeType
Emulation type for the boot volume.
|
static class |
LaunchOptions.Builder |
static class |
LaunchOptions.Firmware
Firmware used to boot VM.
|
static class |
LaunchOptions.NetworkType
Emulation type for the physical network interface card (NIC).
|
static class |
LaunchOptions.RemoteDataVolumeType
Emulation type for volume.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
LaunchOptions(LaunchOptions.BootVolumeType bootVolumeType,
LaunchOptions.Firmware firmware,
LaunchOptions.NetworkType networkType,
LaunchOptions.RemoteDataVolumeType remoteDataVolumeType,
Boolean isPvEncryptionInTransitEnabled,
Boolean isConsistentVolumeNamingEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LaunchOptions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
LaunchOptions.BootVolumeType |
getBootVolumeType()
Emulation type for the boot volume.
|
LaunchOptions.Firmware |
getFirmware()
Firmware used to boot VM.
|
Boolean |
getIsConsistentVolumeNamingEnabled()
Whether to enable consistent volume naming feature.
|
Boolean |
getIsPvEncryptionInTransitEnabled()
Deprecated.
|
LaunchOptions.NetworkType |
getNetworkType()
Emulation type for the physical network interface card (NIC).
|
LaunchOptions.RemoteDataVolumeType |
getRemoteDataVolumeType()
Emulation type for volume.
|
int |
hashCode() |
LaunchOptions.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"bootVolumeType","firmware","networkType","remoteDataVolumeType","isPvEncryptionInTransitEnabled","isConsistentVolumeNamingEnabled"}) public LaunchOptions(LaunchOptions.BootVolumeType bootVolumeType, LaunchOptions.Firmware firmware, LaunchOptions.NetworkType networkType, LaunchOptions.RemoteDataVolumeType remoteDataVolumeType, Boolean isPvEncryptionInTransitEnabled, Boolean isConsistentVolumeNamingEnabled)
public static LaunchOptions.Builder builder()
Create a new builder.
public LaunchOptions.Builder toBuilder()
public LaunchOptions.BootVolumeType getBootVolumeType()
Emulation type for the boot volume. * ISCSI
- ISCSI attached block storage device. *
SCSI
- Emulated SCSI disk. * IDE
- Emulated IDE disk. * VFIO
- Direct
attached Virtual Function storage. This is the default option for local data volumes on
platform images. * PARAVIRTUALIZED
- Paravirtualized disk. This is the default for
boot volumes and remote block storage volumes on platform images.
public LaunchOptions.Firmware getFirmware()
Firmware used to boot VM. Select the option that matches your operating system. * BIOS
- Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit
operating systems that boot using MBR style bootloaders. * UEFI_64
- Boot VM using
UEFI style firmware compatible with 64 bit operating systems. This is the default for
platform images.
public LaunchOptions.NetworkType getNetworkType()
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.
public LaunchOptions.RemoteDataVolumeType getRemoteDataVolumeType()
Emulation type for volume. * ISCSI
- ISCSI attached block storage device. * SCSI
- Emulated SCSI disk. * IDE
- Emulated IDE disk. * VFIO
- Direct
attached Virtual Function storage. This is the default option for local data volumes on
platform images. * PARAVIRTUALIZED
- Paravirtualized disk. This is the default for
boot volumes and remote block storage volumes on platform images.
public Boolean getIsPvEncryptionInTransitEnabled()
Deprecated. Instead use isPvEncryptionInTransitEnabled
in launchInstanceDetails
.
public Boolean getIsConsistentVolumeNamingEnabled()
Whether to enable consistent volume naming feature. Defaults to false.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.