@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateLaunchOptions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Options for tuning the compatibility and performance of VM shapes.
Note: Objects should always be created or deserialized using the UpdateLaunchOptions.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 UpdateLaunchOptions.Builder
, which maintain a
set of all explicitly set fields called UpdateLaunchOptions.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 |
UpdateLaunchOptions.BootVolumeType
Emulation type for the boot volume.
|
static class |
UpdateLaunchOptions.Builder |
static class |
UpdateLaunchOptions.NetworkType
Emulation type for the physical network interface card (NIC).
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateLaunchOptions(UpdateLaunchOptions.BootVolumeType bootVolumeType,
UpdateLaunchOptions.NetworkType networkType,
Boolean isPvEncryptionInTransitEnabled)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateLaunchOptions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
UpdateLaunchOptions.BootVolumeType |
getBootVolumeType()
Emulation type for the boot volume.
|
Boolean |
getIsPvEncryptionInTransitEnabled()
Whether to enable in-transit encryption for the volume’s paravirtualized attachment.
|
UpdateLaunchOptions.NetworkType |
getNetworkType()
Emulation type for the physical network interface card (NIC).
|
int |
hashCode() |
UpdateLaunchOptions.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"bootVolumeType","networkType","isPvEncryptionInTransitEnabled"}) public UpdateLaunchOptions(UpdateLaunchOptions.BootVolumeType bootVolumeType, UpdateLaunchOptions.NetworkType networkType, Boolean isPvEncryptionInTransitEnabled)
public static UpdateLaunchOptions.Builder builder()
Create a new builder.
public UpdateLaunchOptions.Builder toBuilder()
public UpdateLaunchOptions.BootVolumeType getBootVolumeType()
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.
public UpdateLaunchOptions.NetworkType getNetworkType()
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.cloud.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.
public Boolean getIsPvEncryptionInTransitEnabled()
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.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm#Encrypti).
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–2023. All rights reserved.