Class 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 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).
    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel