Class AwrDbWaitEventSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemanagement.model.AwrDbWaitEventSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AwrDbWaitEventSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe summary of the AWR wait event time series data for one event.
 Note: Objects should always be created or deserialized using theAwrDbWaitEventSummary.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 theAwrDbWaitEventSummary.Builder, which maintain a set of all explicitly set fields calledAwrDbWaitEventSummary.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 classAwrDbWaitEventSummary.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwrDbWaitEventSummary.Builderbuilder()Create a new builder.booleanequals(Object o)DoublegetAvgWaitTimePerSec()The average wait time per second.DoublegetAvgWaitTimePerWait()The average wait time in milliseconds per wait.StringgetName()The name of the event.IntegergetSnapshotId()The ID of the snapshot.DategetTimeBegin()The begin time of the wait event.DategetTimeEnd()The end time of the wait event.DoublegetWaitsPerSec()The wait count per second.inthashCode()AwrDbWaitEventSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
AwrDbWaitEventSummary@Deprecated @ConstructorProperties({"name","timeBegin","timeEnd","waitsPerSec","avgWaitTimePerSec","avgWaitTimePerWait","snapshotId"}) public AwrDbWaitEventSummary(String name, Date timeBegin, Date timeEnd, Double waitsPerSec, Double avgWaitTimePerSec, Double avgWaitTimePerWait, Integer snapshotId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static AwrDbWaitEventSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic AwrDbWaitEventSummary.Builder toBuilder() 
 - 
getNamepublic String getName() The name of the event.- Returns:
- the value
 
 - 
getTimeBeginpublic Date getTimeBegin() The begin time of the wait event.- Returns:
- the value
 
 - 
getTimeEndpublic Date getTimeEnd() The end time of the wait event.- Returns:
- the value
 
 - 
getWaitsPerSecpublic Double getWaitsPerSec() The wait count per second.- Returns:
- the value
 
 - 
getAvgWaitTimePerSecpublic Double getAvgWaitTimePerSec() The average wait time per second.- Returns:
- the value
 
 - 
getAvgWaitTimePerWaitpublic Double getAvgWaitTimePerWait() The average wait time in milliseconds per wait.- Returns:
- the value
 
 - 
getSnapshotIdpublic Integer getSnapshotId() The ID of the snapshot.The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-