@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class LaunchOptions extends Object
Options for tuning compatibility and performance of VM shapes.
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 __explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take __explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
LaunchOptions.BootVolumeType
Emulation type for volume.
|
static class |
LaunchOptions.Builder |
static class |
LaunchOptions.Firmware
Firmware used to boot VM.
|
static class |
LaunchOptions.NetworkType
Emulation type for NIC.
|
static class |
LaunchOptions.RemoteDataVolumeType
Emulation type for volume.
|
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) |
Set<String> |
get__explicitlySet__() |
LaunchOptions.BootVolumeType |
getBootVolumeType()
Emulation type for volume.
|
LaunchOptions.Firmware |
getFirmware()
Firmware used to boot VM.
|
Boolean |
getIsConsistentVolumeNamingEnabled()
Whether to enable consistent volume naming feature.
|
Boolean |
getIsPvEncryptionInTransitEnabled()
Whether to enable in-transit encryption for the boot volume’s paravirtualized attachment.
|
LaunchOptions.NetworkType |
getNetworkType()
Emulation type for NIC.
|
LaunchOptions.RemoteDataVolumeType |
getRemoteDataVolumeType()
Emulation type for volume.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"bootVolumeType","firmware","networkType","remoteDataVolumeType","isPvEncryptionInTransitEnabled","isConsistentVolumeNamingEnabled"}) @Deprecated 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.BootVolumeType getBootVolumeType()
Emulation type for volume. * ISCSI
- ISCSI attached block storage device. This is the default for Boot Volumes and Remote Block Storage volumes on Oracle provided images. * SCSI
- Emulated SCSI disk. * IDE
- Emulated IDE disk. * VFIO
- Direct attached Virtual Function storage. This is the default option for Local data volumes on Oracle provided images. * PARAVIRTUALIZED
- Paravirtualized disk.
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 Oracle provided images.
public LaunchOptions.NetworkType getNetworkType()
Emulation type for NIC. * E1000
- Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver. * VFIO
- Direct attached Virtual Function network controller. Default for Oracle provided images. * PARAVIRTUALIZED
- VM instances launch with paravirtualized devices using virtio drivers.
public LaunchOptions.RemoteDataVolumeType getRemoteDataVolumeType()
Emulation type for volume. * ISCSI
- ISCSI attached block storage device. This is the default for Boot Volumes and Remote Block Storage volumes on Oracle provided images. * SCSI
- Emulated SCSI disk. * IDE
- Emulated IDE disk. * VFIO
- Direct attached Virtual Function storage. This is the default option for Local data volumes on Oracle provided images. * PARAVIRTUALIZED
- Paravirtualized disk.
public Boolean getIsPvEncryptionInTransitEnabled()
Whether to enable in-transit encryption for the boot volume’s paravirtualized attachment. The default value is false.
public Boolean getIsConsistentVolumeNamingEnabled()
Whether to enable consistent volume naming feature. Defaults to false.
Copyright © 2016–2019. All rights reserved.