Package com.oracle.bmc.core.model
Class LaunchOptions.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.LaunchOptions.Builder
-
- Enclosing class:
- LaunchOptions
public static class LaunchOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchOptions.BuilderbootVolumeType(LaunchOptions.BootVolumeType bootVolumeType)Emulation type for the boot volume.LaunchOptionsbuild()LaunchOptions.Buildercopy(LaunchOptions model)LaunchOptions.Builderfirmware(LaunchOptions.Firmware firmware)Firmware used to boot VM.LaunchOptions.BuilderisConsistentVolumeNamingEnabled(Boolean isConsistentVolumeNamingEnabled)Whether to enable consistent volume naming feature.LaunchOptions.BuilderisPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)Deprecated.LaunchOptions.BuildernetworkType(LaunchOptions.NetworkType networkType)Emulation type for the physical network interface card (NIC).LaunchOptions.BuilderremoteDataVolumeType(LaunchOptions.RemoteDataVolumeType remoteDataVolumeType)Emulation type for volume.
-
-
-
Method Detail
-
bootVolumeType
public LaunchOptions.Builder bootVolumeType(LaunchOptions.BootVolumeType bootVolumeType)
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.
- Parameters:
bootVolumeType- the value to set- Returns:
- this builder
-
firmware
public LaunchOptions.Builder firmware(LaunchOptions.Firmware firmware)
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.
- Parameters:
firmware- the value to set- Returns:
- this builder
-
networkType
public LaunchOptions.Builder networkType(LaunchOptions.NetworkType 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.
- Parameters:
networkType- the value to set- Returns:
- this builder
-
remoteDataVolumeType
public LaunchOptions.Builder remoteDataVolumeType(LaunchOptions.RemoteDataVolumeType remoteDataVolumeType)
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.
- Parameters:
remoteDataVolumeType- the value to set- Returns:
- this builder
-
isPvEncryptionInTransitEnabled
public LaunchOptions.Builder isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Deprecated.Instead use isPvEncryptionInTransitEnabled in
launchInstanceDetails.- Parameters:
isPvEncryptionInTransitEnabled- the value to set- Returns:
- this builder
-
isConsistentVolumeNamingEnabled
public LaunchOptions.Builder isConsistentVolumeNamingEnabled(Boolean isConsistentVolumeNamingEnabled)
Whether to enable consistent volume naming feature.Defaults to false.
- Parameters:
isConsistentVolumeNamingEnabled- the value to set- Returns:
- this builder
-
build
public LaunchOptions build()
-
copy
public LaunchOptions.Builder copy(LaunchOptions model)
-
-