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.ExplicitlySetBmcModelSummary 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 classHostConfigurationSummary.PlatformTypePlatform type.
-
Constructor Summary
Constructors Modifier Constructor Description protectedHostConfigurationSummary(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 booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment.IntegergetCoresPerSocket()Number of cores per socket.StringgetCpuArchitecture()CPU architechureDoublegetCpuCacheInMBs()Size of cache memory in megabytes.DoublegetCpuFrequencyInMhz()Clock frequency of the processor in megahertz.StringgetCpuImplementation()Model name of processor.StringgetCpuVendor()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.StringgetHostInsightId()The OCID of the host insight resource.StringgetHostName()The host name.BooleangetIsHyperThreadingEnabled()Indicates if hyper-threading is enabled or notHostConfigurationSummary.PlatformTypegetPlatformType()Platform type.StringgetPlatformVendor()Platform vendor.StringgetPlatformVersion()Platform version.IntegergetThreadsPerSocket()Number of threads per socket.IntegergetTotalCpus()Total CPU on this host.DoublegetTotalMemoryInGBs()Total amount of usable physical memory in gibabytesIntegergetTotalSockets()Number of total sockets.inthashCode()StringtoString()StringtoString(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:
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
-
-