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.ExplicitlySetBmcModelCompute 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 classComputeProperties.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.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetConnectedNetworks()Number of connected networks.IntegergetCoresCount()Number of CPUs.StringgetCpuModel()CPU model name.StringgetDescription()Information about the asset.List<Disk>getDisks()Lists the set of disks belonging to the virtual machine.IntegergetDisksCount()Number of disks.StringgetDnsName()Fully Qualified DNS Name.StringgetFirmware()Information about firmware type for this virtual machine.List<GpuDevice>getGpuDevices()List of GPU devices attached to a virtual machine.IntegergetGpuDevicesCount()Number of GPU devices.StringgetGuestState()Guest state.StringgetHardwareVersion()Hardware version.StringgetHostName()Host name of the VM.BooleangetIsPmemEnabled()Whether Pmem is enabled.BooleangetIsTpmEnabled()Whether Trusted Platform Module (TPM) is enabled.StringgetLatencySensitivity()Latency sensitivity.LonggetMemoryInMBs()Memory size in MBs.List<Nic>getNics()List of network ethernet cards attached to a virtual machine.IntegergetNicsCount()Number of network ethernet cards.NvdimmControllergetNvdimmController()List<Nvdimm>getNvdimms()The properties of the NVDIMMs attached to a virtual machine.StringgetOperatingSystem()Operating system.StringgetOperatingSystemVersion()Operating system version.LonggetPmemInMBs()Pmem size in MBs.StringgetPowerState()The current power state of the virtual machine.StringgetPrimaryIp()Primary IP address of the compute instance.ScsiControllergetScsiController()LonggetStorageProvisionedInMBs()Provision storage size in MBs.IntegergetThreadsPerCoreCount()Number of threads per core.inthashCode()ComputeProperties.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-