Class OptimizerStatisticsCollectionAggregationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.OptimizerStatisticsCollectionAggregationSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class OptimizerStatisticsCollectionAggregationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of the Optimizer Statistics Collection, which includes the aggregated number of tasks grouped by status.
Note: Objects should always be created or deserialized using theOptimizerStatisticsCollectionAggregationSummary.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 theOptimizerStatisticsCollectionAggregationSummary.Builder
, which maintain a set of all explicitly set fields calledOptimizerStatisticsCollectionAggregationSummary.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 Summary
Nested Classes Modifier and Type Class Description static class
OptimizerStatisticsCollectionAggregationSummary.Builder
-
Constructor Summary
Constructors Constructor Description OptimizerStatisticsCollectionAggregationSummary(OptimizerStatisticsGroupByTypes groupBy, Date timeStart, Date timeEnd, Integer pending, Integer inProgress, Integer completed, Integer failed, Integer skipped, Integer timedOut, Integer unknown, Integer total)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OptimizerStatisticsCollectionAggregationSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getCompleted()
The number of tasks or objects for which statistics gathering is completed.Integer
getFailed()
The number of tasks or objects for which statistics gathering failed.OptimizerStatisticsGroupByTypes
getGroupBy()
The optimizer statistics tasks grouped by type.Integer
getInProgress()
The number of tasks or objects for which statistics gathering is in progress.Integer
getPending()
The number of tasks or objects for which statistics are yet to be gathered.Integer
getSkipped()
The number of tasks or objects for which statistics gathering was skipped.Integer
getTimedOut()
The number of tasks or objects for which statistics gathering timed out.Date
getTimeEnd()
Indicates the end of the hour as the statistics are aggregated per hour.Date
getTimeStart()
Indicates the start of the hour as the statistics are aggregated per hour.Integer
getTotal()
The total number of tasks or objects for which statistics collection is finished.Integer
getUnknown()
The number of tasks or objects for which the status of statistics gathering is unknown.int
hashCode()
OptimizerStatisticsCollectionAggregationSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OptimizerStatisticsCollectionAggregationSummary
@Deprecated @ConstructorProperties({"groupBy","timeStart","timeEnd","pending","inProgress","completed","failed","skipped","timedOut","unknown","total"}) public OptimizerStatisticsCollectionAggregationSummary(OptimizerStatisticsGroupByTypes groupBy, Date timeStart, Date timeEnd, Integer pending, Integer inProgress, Integer completed, Integer failed, Integer skipped, Integer timedOut, Integer unknown, Integer total)
Deprecated.
-
-
Method Detail
-
builder
public static OptimizerStatisticsCollectionAggregationSummary.Builder builder()
Create a new builder.
-
toBuilder
public OptimizerStatisticsCollectionAggregationSummary.Builder toBuilder()
-
getGroupBy
public OptimizerStatisticsGroupByTypes getGroupBy()
The optimizer statistics tasks grouped by type.- Returns:
- the value
-
getTimeStart
public Date getTimeStart()
Indicates the start of the hour as the statistics are aggregated per hour.- Returns:
- the value
-
getTimeEnd
public Date getTimeEnd()
Indicates the end of the hour as the statistics are aggregated per hour.- Returns:
- the value
-
getPending
public Integer getPending()
The number of tasks or objects for which statistics are yet to be gathered.- Returns:
- the value
-
getInProgress
public Integer getInProgress()
The number of tasks or objects for which statistics gathering is in progress.- Returns:
- the value
-
getCompleted
public Integer getCompleted()
The number of tasks or objects for which statistics gathering is completed.- Returns:
- the value
-
getFailed
public Integer getFailed()
The number of tasks or objects for which statistics gathering failed.- Returns:
- the value
-
getSkipped
public Integer getSkipped()
The number of tasks or objects for which statistics gathering was skipped.- Returns:
- the value
-
getTimedOut
public Integer getTimedOut()
The number of tasks or objects for which statistics gathering timed out.- Returns:
- the value
-
getUnknown
public Integer getUnknown()
The number of tasks or objects for which the status of statistics gathering is unknown.- Returns:
- the value
-
getTotal
public Integer getTotal()
The total number of tasks or objects for which statistics collection is finished.This number is the sum of all the tasks or objects with various statuses: pending, inProgress, completed, failed, skipped, timedOut, and unknown.
- 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
-
-