Class UpdateLaunchOptions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.UpdateLaunchOptions
-
@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 theUpdateLaunchOptions.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 theUpdateLaunchOptions.Builder
, which maintain a set of all explicitly set fields calledUpdateLaunchOptions.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
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).
-
Constructor Summary
Constructors Constructor Description UpdateLaunchOptions(UpdateLaunchOptions.BootVolumeType bootVolumeType, UpdateLaunchOptions.NetworkType networkType, Boolean isPvEncryptionInTransitEnabled)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
UpdateLaunchOptions
@Deprecated @ConstructorProperties({"bootVolumeType","networkType","isPvEncryptionInTransitEnabled"}) public UpdateLaunchOptions(UpdateLaunchOptions.BootVolumeType bootVolumeType, UpdateLaunchOptions.NetworkType networkType, Boolean isPvEncryptionInTransitEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateLaunchOptions.Builder builder()
Create a new builder.
-
toBuilder
public UpdateLaunchOptions.Builder toBuilder()
-
getBootVolumeType
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.
- Returns:
- the value
-
getNetworkType
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.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.
- Returns:
- the value
-
getIsPvEncryptionInTransitEnabled
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.oracle.com/iaas/Content/Block/Concepts/overview.htm#Encrypti).
- 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
-
-