Class InstanceConfigurationGenericBmLaunchInstancePlatformConfig


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class InstanceConfigurationGenericBmLaunchInstancePlatformConfig
    extends InstanceConfigurationLaunchInstancePlatformConfig
    The standard platform configuration to be used when launching a bare metal instance.
    Note: Objects should always be created or deserialized using the InstanceConfigurationGenericBmLaunchInstancePlatformConfig.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 InstanceConfigurationGenericBmLaunchInstancePlatformConfig.Builder, which maintain a set of all explicitly set fields called InstanceConfigurationGenericBmLaunchInstancePlatformConfig.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

      • getIsSymmetricMultiThreadingEnabled

        public Boolean getIsSymmetricMultiThreadingEnabled()
        Whether symmetric multithreading is enabled on the instance.

        Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.

        Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.

        Returns:
        the value
      • getIsAccessControlServiceEnabled

        public Boolean getIsAccessControlServiceEnabled()
        Whether the Access Control Service is enabled on the instance.

        When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.

        Returns:
        the value
      • getAreVirtualInstructionsEnabled

        public Boolean getAreVirtualInstructionsEnabled()
        Whether virtualization instructions are available.

        For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.

        Returns:
        the value
      • getIsInputOutputMemoryManagementUnitEnabled

        public Boolean getIsInputOutputMemoryManagementUnitEnabled()
        Whether the input-output memory management unit is enabled.
        Returns:
        the value
      • getPercentageOfCoresEnabled

        public Integer getPercentageOfCoresEnabled()
        The percentage of cores enabled.

        Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.

        If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.

        Returns:
        the value
      • getConfigMap

        public Map<String,​String> getConfigMap()
        Instance Platform Configuration Configuration Map for flexible setting input.
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class InstanceConfigurationLaunchInstancePlatformConfig
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation