Class ComputeProperties


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220509")
    public final class ComputeProperties
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Compute related properties.
    Note: Objects should always be created or deserialized using the ComputeProperties.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 ComputeProperties.Builder, which maintain a set of all explicitly set fields called ComputeProperties.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).
    • Constructor Detail

      • ComputeProperties

        @Deprecated
        @ConstructorProperties({"primaryIp","dnsName","description","coresCount","cpuModel","gpuDevicesCount","gpuDevices","threadsPerCoreCount","memoryInMBs","isPmemEnabled","pmemInMBs","operatingSystem","operatingSystemVersion","hostName","powerState","guestState","isTpmEnabled","connectedNetworks","nicsCount","nics","storageProvisionedInMBs","disksCount","disks","firmware","latencySensitivity","nvdimms","nvdimmController","scsiController","hardwareVersion"})
        public ComputeProperties​(String primaryIp,
                                 String dnsName,
                                 String description,
                                 Integer coresCount,
                                 String cpuModel,
                                 Integer gpuDevicesCount,
                                 List<GpuDevice> gpuDevices,
                                 Integer threadsPerCoreCount,
                                 Long memoryInMBs,
                                 Boolean isPmemEnabled,
                                 Long pmemInMBs,
                                 String operatingSystem,
                                 String operatingSystemVersion,
                                 String hostName,
                                 String powerState,
                                 String guestState,
                                 Boolean isTpmEnabled,
                                 Integer connectedNetworks,
                                 Integer nicsCount,
                                 List<Nic> nics,
                                 Long storageProvisionedInMBs,
                                 Integer disksCount,
                                 List<Disk> disks,
                                 String firmware,
                                 String latencySensitivity,
                                 List<Nvdimm> nvdimms,
                                 NvdimmController nvdimmController,
                                 ScsiController scsiController,
                                 String hardwareVersion)
        Deprecated.
    • Method Detail

      • getPrimaryIp

        public String getPrimaryIp()
        Primary IP address of the compute instance.
        Returns:
        the value
      • getDnsName

        public String getDnsName()
        Fully Qualified DNS Name.
        Returns:
        the value
      • getDescription

        public String getDescription()
        Information about the asset.
        Returns:
        the value
      • getCoresCount

        public Integer getCoresCount()
        Number of CPUs.
        Returns:
        the value
      • getCpuModel

        public String getCpuModel()
        CPU model name.
        Returns:
        the value
      • getGpuDevicesCount

        public Integer getGpuDevicesCount()
        Number of GPU devices.
        Returns:
        the value
      • getGpuDevices

        public List<GpuDevice> getGpuDevices()
        List of GPU devices attached to a virtual machine.
        Returns:
        the value
      • getThreadsPerCoreCount

        public Integer getThreadsPerCoreCount()
        Number of threads per core.
        Returns:
        the value
      • getMemoryInMBs

        public Long getMemoryInMBs()
        Memory size in MBs.
        Returns:
        the value
      • getIsPmemEnabled

        public Boolean getIsPmemEnabled()
        Whether Pmem is enabled.

        Decides if NVDIMMs are used as a permanent memory.

        Returns:
        the value
      • getPmemInMBs

        public Long getPmemInMBs()
        Pmem size in MBs.
        Returns:
        the value
      • getOperatingSystem

        public String getOperatingSystem()
        Operating system.
        Returns:
        the value
      • getOperatingSystemVersion

        public String getOperatingSystemVersion()
        Operating system version.
        Returns:
        the value
      • getHostName

        public String getHostName()
        Host name of the VM.
        Returns:
        the value
      • getPowerState

        public String getPowerState()
        The current power state of the virtual machine.
        Returns:
        the value
      • getGuestState

        public String getGuestState()
        Guest state.
        Returns:
        the value
      • getIsTpmEnabled

        public Boolean getIsTpmEnabled()
        Whether Trusted Platform Module (TPM) is enabled.
        Returns:
        the value
      • getConnectedNetworks

        public Integer getConnectedNetworks()
        Number of connected networks.
        Returns:
        the value
      • getNicsCount

        public Integer getNicsCount()
        Number of network ethernet cards.
        Returns:
        the value
      • getNics

        public List<Nic> getNics()
        List of network ethernet cards attached to a virtual machine.
        Returns:
        the value
      • getStorageProvisionedInMBs

        public Long getStorageProvisionedInMBs()
        Provision storage size in MBs.
        Returns:
        the value
      • getDisksCount

        public Integer getDisksCount()
        Number of disks.
        Returns:
        the value
      • getDisks

        public List<Disk> getDisks()
        Lists the set of disks belonging to the virtual machine.

        This list is unordered.

        Returns:
        the value
      • getFirmware

        public String getFirmware()
        Information about firmware type for this virtual machine.
        Returns:
        the value
      • getLatencySensitivity

        public String getLatencySensitivity()
        Latency sensitivity.
        Returns:
        the value
      • getNvdimms

        public List<Nvdimm> getNvdimms()
        The properties of the NVDIMMs attached to a virtual machine.
        Returns:
        the value
      • getHardwareVersion

        public String getHardwareVersion()
        Hardware version.
        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