Class UpdateLaunchOptions.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.UpdateLaunchOptions.Builder
-
- Enclosing class:
- UpdateLaunchOptions
public static class UpdateLaunchOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateLaunchOptions.Builder
bootVolumeType(UpdateLaunchOptions.BootVolumeType bootVolumeType)
Emulation type for the boot volume.UpdateLaunchOptions
build()
UpdateLaunchOptions.Builder
copy(UpdateLaunchOptions model)
UpdateLaunchOptions.Builder
isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether to enable in-transit encryption for the volume’s paravirtualized attachment.UpdateLaunchOptions.Builder
networkType(UpdateLaunchOptions.NetworkType networkType)
Emulation type for the physical network interface card (NIC).
-
-
-
Method Detail
-
bootVolumeType
public UpdateLaunchOptions.Builder bootVolumeType(UpdateLaunchOptions.BootVolumeType bootVolumeType)
Emulation type for the boot volume.- ISCSI - ISCSI attached block storage device. * PARAVIRTUALIZED - Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images.
Before you change the boot volume attachment type, detach all block volumes and VNICs except for the boot volume and the primary VNIC.
If the instance is running when you change the boot volume attachment type, it will be rebooted.
*Note:** Some instances might not function properly if you change the boot volume attachment type. After the instance reboots and is running, connect to it. If the connection fails or the OS doesn't behave as expected, the changes are not supported. Revert the instance to the original boot volume attachment type.
- Parameters:
bootVolumeType
- the value to set- Returns:
- this builder
-
networkType
public UpdateLaunchOptions.Builder networkType(UpdateLaunchOptions.NetworkType networkType)
Emulation type for the physical network interface card (NIC).- 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.
Before you change the networking type, detach all VNICs and block volumes except for the primary VNIC and the boot volume.
The image must have paravirtualized drivers installed. For more information, see [Editing an Instance](https://docs.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm).
If the instance is running when you change the network type, it will be rebooted.
*Note:** Some instances might not function properly if you change the networking type. After the instance reboots and is running, connect to it. If the connection fails or the OS doesn't behave as expected, the changes are not supported. Revert the instance to the original networking type.
- Parameters:
networkType
- the value to set- Returns:
- this builder
-
isPvEncryptionInTransitEnabled
public UpdateLaunchOptions.Builder isPvEncryptionInTransitEnabled(Boolean isPvEncryptionInTransitEnabled)
Whether to enable in-transit encryption for the volume’s paravirtualized attachment.To enable in-transit encryption for block volumes and boot volumes, this field must be set to true.
Data in transit is transferred over an internal and highly secure network. If you have specific compliance requirements related to the encryption of the data while it is moving between the instance and the boot volume or the block volume, you can enable in-transit encryption. In-transit encryption is not enabled by default.
All boot volumes and block volumes are encrypted at rest.
For more information, see [Block Volume Encryption](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm#Encrypti).
- Parameters:
isPvEncryptionInTransitEnabled
- the value to set- Returns:
- this builder
-
build
public UpdateLaunchOptions build()
-
copy
public UpdateLaunchOptions.Builder copy(UpdateLaunchOptions model)
-
-