Class LaunchOptions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.LaunchOptions
-
@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 theLaunchOptions.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 theLaunchOptions.Builder
, which maintain a set of all explicitly set fields calledLaunchOptions.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.
-
Constructor Summary
Constructors Constructor Description LaunchOptions(LaunchOptions.BootVolumeType bootVolumeType, LaunchOptions.Firmware firmware, LaunchOptions.NetworkType networkType, LaunchOptions.RemoteDataVolumeType remoteDataVolumeType, Boolean isPvEncryptionInTransitEnabled, Boolean isConsistentVolumeNamingEnabled)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
LaunchOptions
@Deprecated @ConstructorProperties({"bootVolumeType","firmware","networkType","remoteDataVolumeType","isPvEncryptionInTransitEnabled","isConsistentVolumeNamingEnabled"}) public LaunchOptions(LaunchOptions.BootVolumeType bootVolumeType, LaunchOptions.Firmware firmware, LaunchOptions.NetworkType networkType, LaunchOptions.RemoteDataVolumeType remoteDataVolumeType, Boolean isPvEncryptionInTransitEnabled, Boolean isConsistentVolumeNamingEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static LaunchOptions.Builder builder()
Create a new builder.
-
toBuilder
public LaunchOptions.Builder toBuilder()
-
getBootVolumeType
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.
- Returns:
- the value
-
getFirmware
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.
- Returns:
- the value
-
getNetworkType
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.
- Returns:
- the value
-
getRemoteDataVolumeType
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.
- Returns:
- the value
-
getIsPvEncryptionInTransitEnabled
public Boolean getIsPvEncryptionInTransitEnabled()
Deprecated.Instead use isPvEncryptionInTransitEnabled in
launchInstanceDetails
.- Returns:
- the value
-
getIsConsistentVolumeNamingEnabled
public Boolean getIsConsistentVolumeNamingEnabled()
Whether to enable consistent volume naming feature.Defaults to false.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-