Package com.oracle.bmc.cloudbridge.model
Class ComputeProperties
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudbridge.model.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 theComputeProperties.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 theComputeProperties.Builder
, which maintain a set of all explicitly set fields calledComputeProperties.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
ComputeProperties.Builder
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputeProperties.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getConnectedNetworks()
Number of connected networks.Integer
getCoresCount()
Number of CPUs.String
getCpuModel()
CPU model name.String
getDescription()
Information about the asset.List<Disk>
getDisks()
Lists the set of disks belonging to the virtual machine.Integer
getDisksCount()
Number of disks.String
getDnsName()
Fully Qualified DNS Name.String
getFirmware()
Information about firmware type for this virtual machine.List<GpuDevice>
getGpuDevices()
List of GPU devices attached to a virtual machine.Integer
getGpuDevicesCount()
Number of GPU devices.String
getGuestState()
Guest state.String
getHardwareVersion()
Hardware version.String
getHostName()
Host name of the VM.Boolean
getIsPmemEnabled()
Whether Pmem is enabled.Boolean
getIsTpmEnabled()
Whether Trusted Platform Module (TPM) is enabled.String
getLatencySensitivity()
Latency sensitivity.Long
getMemoryInMBs()
Memory size in MBs.List<Nic>
getNics()
List of network ethernet cards attached to a virtual machine.Integer
getNicsCount()
Number of network ethernet cards.NvdimmController
getNvdimmController()
List<Nvdimm>
getNvdimms()
The properties of the NVDIMMs attached to a virtual machine.String
getOperatingSystem()
Operating system.String
getOperatingSystemVersion()
Operating system version.Long
getPmemInMBs()
Pmem size in MBs.String
getPowerState()
The current power state of the virtual machine.String
getPrimaryIp()
Primary IP address of the compute instance.ScsiController
getScsiController()
Long
getStorageProvisionedInMBs()
Provision storage size in MBs.Integer
getThreadsPerCoreCount()
Number of threads per core.int
hashCode()
ComputeProperties.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
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
-
builder
public static ComputeProperties.Builder builder()
Create a new builder.
-
toBuilder
public ComputeProperties.Builder toBuilder()
-
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
-
getNvdimmController
public NvdimmController getNvdimmController()
-
getScsiController
public ScsiController getScsiController()
-
getHardwareVersion
public String getHardwareVersion()
Hardware version.- 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
-
-