@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class InstanceConfigurationLaunchOptions 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 InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.Builder
, which maintain a
set of all explicitly set fields called InstanceConfigurationLaunchOptions.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 |
InstanceConfigurationLaunchOptions.BootVolumeType
Emulation type for the boot volume.
|
static class |
InstanceConfigurationLaunchOptions.Builder |
static class |
InstanceConfigurationLaunchOptions.Firmware
Firmware used to boot VM.
|
static class |
InstanceConfigurationLaunchOptions.NetworkType
Emulation type for the physical network interface card (NIC).
|
static class |
InstanceConfigurationLaunchOptions.RemoteDataVolumeType
Emulation type for volume.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InstanceConfigurationLaunchOptions(InstanceConfigurationLaunchOptions.BootVolumeType bootVolumeType,
InstanceConfigurationLaunchOptions.Firmware firmware,
InstanceConfigurationLaunchOptions.NetworkType networkType,
InstanceConfigurationLaunchOptions.RemoteDataVolumeType remoteDataVolumeType,
Boolean isPvEncryptionInTransitEnabled,
Boolean isConsistentVolumeNamingEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstanceConfigurationLaunchOptions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
InstanceConfigurationLaunchOptions.BootVolumeType |
getBootVolumeType()
Emulation type for the boot volume.
|
InstanceConfigurationLaunchOptions.Firmware |
getFirmware()
Firmware used to boot VM.
|
Boolean |
getIsConsistentVolumeNamingEnabled()
Whether to enable consistent volume naming feature.
|
Boolean |
getIsPvEncryptionInTransitEnabled()
Deprecated.
|
InstanceConfigurationLaunchOptions.NetworkType |
getNetworkType()
Emulation type for the physical network interface card (NIC).
|
InstanceConfigurationLaunchOptions.RemoteDataVolumeType |
getRemoteDataVolumeType()
Emulation type for volume.
|
int |
hashCode() |
InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions(InstanceConfigurationLaunchOptions.BootVolumeType bootVolumeType, InstanceConfigurationLaunchOptions.Firmware firmware, InstanceConfigurationLaunchOptions.NetworkType networkType, InstanceConfigurationLaunchOptions.RemoteDataVolumeType remoteDataVolumeType, Boolean isPvEncryptionInTransitEnabled, Boolean isConsistentVolumeNamingEnabled)
public static InstanceConfigurationLaunchOptions.Builder builder()
Create a new builder.
public InstanceConfigurationLaunchOptions.Builder toBuilder()
public InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.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 instanceConfigurationLaunchInstanceDetails
.
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.