Package com.oracle.bmc.core.model
Class InstanceConfigurationLaunchOptions.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.InstanceConfigurationLaunchOptions.Builder
-
- Enclosing class:
- InstanceConfigurationLaunchOptions
public static class InstanceConfigurationLaunchOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
bootVolumeType
public InstanceConfigurationLaunchOptions.Builder bootVolumeType(InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.Builder firmware(InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.Builder networkType(InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.Builder remoteDataVolumeType(InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.Builder isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Deprecated.Instead use isPvEncryptionInTransitEnabled in
instanceConfigurationLaunchInstanceDetails
.- Parameters:
isPvEncryptionInTransitEnabled
- the value to set- Returns:
- this builder
-
isConsistentVolumeNamingEnabled
public InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions build()
-
copy
public InstanceConfigurationLaunchOptions.Builder copy(InstanceConfigurationLaunchOptions model)
-
-