@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class HostConfigurationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of a host configuration for a resource.
Note: Objects should always be created or deserialized using the 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 Builder
, which maintain a
set of all explicitly set fields called 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 |
HostConfigurationSummary.PlatformType
Platform type.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Modifier | Constructor and Description |
---|---|
protected |
HostConfigurationSummary(String hostInsightId,
String compartmentId,
String hostName,
HostConfigurationSummary.PlatformType platformType,
String platformVersion,
String platformVendor,
Integer totalCpus,
Double totalMemoryInGBs,
String cpuArchitecture,
Double cpuCacheInMBs,
String cpuVendor,
Double cpuFrequencyInMhz,
String cpuImplementation,
Integer coresPerSocket,
Integer totalSockets,
Integer threadsPerSocket,
Boolean isHyperThreadingEnabled,
Map<String,Map<String,Object>> definedTags,
Map<String,String> freeformTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of
the compartment.
|
Integer |
getCoresPerSocket()
Number of cores per socket.
|
String |
getCpuArchitecture()
CPU architechure
|
Double |
getCpuCacheInMBs()
Size of cache memory in megabytes.
|
Double |
getCpuFrequencyInMhz()
Clock frequency of the processor in megahertz.
|
String |
getCpuImplementation()
Model name of processor.
|
String |
getCpuVendor()
Name of the CPU vendor.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getHostInsightId()
The OCID of
the host insight resource.
|
String |
getHostName()
The host name.
|
Boolean |
getIsHyperThreadingEnabled()
Indicates if hyper-threading is enabled or not
|
HostConfigurationSummary.PlatformType |
getPlatformType()
Platform type.
|
String |
getPlatformVendor()
Platform vendor.
|
String |
getPlatformVersion()
Platform version.
|
Integer |
getThreadsPerSocket()
Number of threads per socket.
|
Integer |
getTotalCpus()
Total CPU on this host.
|
Double |
getTotalMemoryInGBs()
Total amount of usable physical memory in gibabytes
|
Integer |
getTotalSockets()
Number of total sockets.
|
int |
hashCode() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"hostInsightId","compartmentId","hostName","platformType","platformVersion","platformVendor","totalCpus","totalMemoryInGBs","cpuArchitecture","cpuCacheInMBs","cpuVendor","cpuFrequencyInMhz","cpuImplementation","coresPerSocket","totalSockets","threadsPerSocket","isHyperThreadingEnabled","definedTags","freeformTags"}) protected HostConfigurationSummary(String hostInsightId, String compartmentId, String hostName, HostConfigurationSummary.PlatformType platformType, String platformVersion, String platformVendor, Integer totalCpus, Double totalMemoryInGBs, String cpuArchitecture, Double cpuCacheInMBs, String cpuVendor, Double cpuFrequencyInMhz, String cpuImplementation, Integer coresPerSocket, Integer totalSockets, Integer threadsPerSocket, Boolean isHyperThreadingEnabled, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags)
public String getHostInsightId()
The OCID of the host insight resource.
public String getHostName()
The host name. The host name is unique amongst the hosts managed by the same management agent.
public HostConfigurationSummary.PlatformType getPlatformType()
Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
public String getPlatformVersion()
Platform version.
public String getPlatformVendor()
Platform vendor.
public Integer getTotalCpus()
Total CPU on this host.
public Double getTotalMemoryInGBs()
Total amount of usable physical memory in gibabytes
public String getCpuArchitecture()
CPU architechure
public Double getCpuCacheInMBs()
Size of cache memory in megabytes.
public String getCpuVendor()
Name of the CPU vendor.
public Double getCpuFrequencyInMhz()
Clock frequency of the processor in megahertz.
public String getCpuImplementation()
Model name of processor.
public Integer getCoresPerSocket()
Number of cores per socket.
public Integer getTotalSockets()
Number of total sockets.
public Integer getThreadsPerSocket()
Number of threads per socket.
public Boolean getIsHyperThreadingEnabled()
Indicates if hyper-threading is enabled or not
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for
cross-compatibility only. Example: {"bar-key": "value"}
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.