Package com.oracle.bmc.opsi.model
Class HostConfigurationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.HostConfigurationSummary
-
- Direct Known Subclasses:
EmManagedExternalHostConfigurationSummary
,MacsManagedCloudDbHostConfigurationSummary
,MacsManagedCloudHostConfigurationSummary
,MacsManagedExternalHostConfigurationSummary
,PeComanagedHostConfigurationSummary
@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 theBuilder
. 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 theBuilder
, which maintain a set of all explicitly set fields calledBuilder#__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
HostConfigurationSummary.PlatformType
Platform type.
-
Constructor Summary
Constructors Modifier Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment.Integer
getCoresPerSocket()
Number of cores per socket.String
getCpuArchitecture()
CPU architechureDouble
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 notHostConfigurationSummary.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 gibabytesInteger
getTotalSockets()
Number of total sockets.int
hashCode()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
HostConfigurationSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
getHostInsightId
public String getHostInsightId()
The OCID of the host insight resource.- Returns:
- the value
-
getHostName
public String getHostName()
The host name.The host name is unique amongst the hosts managed by the same management agent.
- Returns:
- the value
-
getPlatformType
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].
- Returns:
- the value
-
getPlatformVersion
public String getPlatformVersion()
Platform version.- Returns:
- the value
-
getPlatformVendor
public String getPlatformVendor()
Platform vendor.- Returns:
- the value
-
getTotalCpus
public Integer getTotalCpus()
Total CPU on this host.- Returns:
- the value
-
getTotalMemoryInGBs
public Double getTotalMemoryInGBs()
Total amount of usable physical memory in gibabytes- Returns:
- the value
-
getCpuArchitecture
public String getCpuArchitecture()
CPU architechure- Returns:
- the value
-
getCpuCacheInMBs
public Double getCpuCacheInMBs()
Size of cache memory in megabytes.- Returns:
- the value
-
getCpuVendor
public String getCpuVendor()
Name of the CPU vendor.- Returns:
- the value
-
getCpuFrequencyInMhz
public Double getCpuFrequencyInMhz()
Clock frequency of the processor in megahertz.- Returns:
- the value
-
getCpuImplementation
public String getCpuImplementation()
Model name of processor.- Returns:
- the value
-
getCoresPerSocket
public Integer getCoresPerSocket()
Number of cores per socket.- Returns:
- the value
-
getTotalSockets
public Integer getTotalSockets()
Number of total sockets.- Returns:
- the value
-
getThreadsPerSocket
public Integer getThreadsPerSocket()
Number of threads per socket.- Returns:
- the value
-
getIsHyperThreadingEnabled
public Boolean getIsHyperThreadingEnabled()
Indicates if hyper-threading is enabled or not- Returns:
- the value
-
getDefinedTags
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”}}
- Returns:
- the value
-
getFreeformTags
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”}
- 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
-
-