Class InstanceConfigurationLaunchOptions


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class InstanceConfigurationLaunchOptions
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Options for tuning the compatibility and performance of VM shapes.

    The values that you specify override any default values.
    Note: Objects should always be created or deserialized using the InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.Builder, which maintain a set of all explicitly set fields called InstanceConfigurationLaunchOptions.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 InstanceConfigurationLaunchOptions.BootVolumeType getBootVolumeType()
        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.
        Returns:
        the value
      • getFirmware

        public InstanceConfigurationLaunchOptions.Firmware getFirmware()
        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.

        Returns:
        the value
      • getNetworkType

        public InstanceConfigurationLaunchOptions.NetworkType getNetworkType()
        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.
        Returns:
        the value
      • getRemoteDataVolumeType

        public InstanceConfigurationLaunchOptions.RemoteDataVolumeType getRemoteDataVolumeType()
        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.
        Returns:
        the value
      • getIsPvEncryptionInTransitEnabled

        public Boolean getIsPvEncryptionInTransitEnabled()
        Deprecated.

        Instead use isPvEncryptionInTransitEnabled in instanceConfigurationLaunchInstanceDetails.

        Returns:
        the value
      • getIsConsistentVolumeNamingEnabled

        public Boolean getIsConsistentVolumeNamingEnabled()
        Whether to enable consistent volume naming feature.

        Defaults to false.

        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