Class AwrDbCpuUsageCollection
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemanagement.model.AwrQueryResult
- 
- com.oracle.bmc.databasemanagement.model.AwrDbCpuUsageCollection
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AwrDbCpuUsageCollection extends AwrQueryResultThe AWR CPU usage data.
 Note: Objects should always be created or deserialized using theAwrDbCpuUsageCollection.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 theAwrDbCpuUsageCollection.Builder, which maintain a set of all explicitly set fields calledAwrDbCpuUsageCollection.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 SummaryNested Classes Modifier and Type Class Description static classAwrDbCpuUsageCollection.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.databasemanagement.model.AwrQueryResultAwrQueryResult.AwrResultType
 
- 
 - 
Constructor SummaryConstructors Constructor Description AwrDbCpuUsageCollection(String name, String version, String queryKey, Double dbQueryTimeInSecs, Integer numCpuCores, Integer cpuCount, Double numCpus, List<AwrDbCpuUsageSummary> items)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwrDbCpuUsageCollection.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCpuCount()The number of CPUs available for the database to use.List<AwrDbCpuUsageSummary>getItems()A list of AWR CPU usage summary data.IntegergetNumCpuCores()The number of available CPU cores, which include subcores of multicore and single-core CPUs.DoublegetNumCpus()The number of available CPUs or processors.inthashCode()AwrDbCpuUsageCollection.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.databasemanagement.model.AwrQueryResultgetDbQueryTimeInSecs, getName, getQueryKey, getVersion
 
- 
 
- 
- 
- 
Constructor Detail- 
AwrDbCpuUsageCollection@Deprecated public AwrDbCpuUsageCollection(String name, String version, String queryKey, Double dbQueryTimeInSecs, Integer numCpuCores, Integer cpuCount, Double numCpus, List<AwrDbCpuUsageSummary> items) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static AwrDbCpuUsageCollection.Builder builder() Create a new builder.
 - 
toBuilderpublic AwrDbCpuUsageCollection.Builder toBuilder() 
 - 
getNumCpuCorespublic Integer getNumCpuCores() The number of available CPU cores, which include subcores of multicore and single-core CPUs.- Returns:
- the value
 
 - 
getCpuCountpublic Integer getCpuCount() The number of CPUs available for the database to use.- Returns:
- the value
 
 - 
getNumCpuspublic Double getNumCpus() The number of available CPUs or processors.- Returns:
- the value
 
 - 
getItemspublic List<AwrDbCpuUsageSummary> getItems() A list of AWR CPU usage summary data.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- AwrQueryResult
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- AwrQueryResult
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- AwrQueryResult
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AwrQueryResult
 
 
- 
 
-