@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
).
Modifier and Type | Class and Description |
---|---|
static class |
ComputeProperties.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static ComputeProperties.Builder builder()
Create a new builder.
public ComputeProperties.Builder toBuilder()
public String getPrimaryIp()
Primary IP address of the compute instance.
public String getDnsName()
Fully Qualified DNS Name.
public String getDescription()
Information about the asset.
public Integer getCoresCount()
Number of CPUs.
public String getCpuModel()
CPU model name.
public Integer getGpuDevicesCount()
Number of GPU devices.
public List<GpuDevice> getGpuDevices()
List of GPU devices attached to a virtual machine.
public Integer getThreadsPerCoreCount()
Number of threads per core.
public Long getMemoryInMBs()
Memory size in MBs.
public Boolean getIsPmemEnabled()
Whether Pmem is enabled. Decides if NVDIMMs are used as a permanent memory.
public Long getPmemInMBs()
Pmem size in MBs.
public String getOperatingSystem()
Operating system.
public String getOperatingSystemVersion()
Operating system version.
public String getHostName()
Host name of the VM.
public String getPowerState()
The current power state of the virtual machine.
public String getGuestState()
Guest state.
public Boolean getIsTpmEnabled()
Whether Trusted Platform Module (TPM) is enabled.
public Integer getConnectedNetworks()
Number of connected networks.
public Integer getNicsCount()
Number of network ethernet cards.
public List<Nic> getNics()
List of network ethernet cards attached to a virtual machine.
public Long getStorageProvisionedInMBs()
Provision storage size in MBs.
public Integer getDisksCount()
Number of disks.
public List<Disk> getDisks()
Lists the set of disks belonging to the virtual machine. This list is unordered.
public String getFirmware()
Information about firmware type for this virtual machine.
public String getLatencySensitivity()
Latency sensitivity.
public List<Nvdimm> getNvdimms()
The properties of the NVDIMMs attached to a virtual machine.
public NvdimmController getNvdimmController()
public ScsiController getScsiController()
public String getHardwareVersion()
Hardware version.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.