Class OptimizerStatisticsCollectionAggregationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.OptimizerStatisticsCollectionAggregationSummary.Builder
-
- Enclosing class:
- OptimizerStatisticsCollectionAggregationSummary
public static class OptimizerStatisticsCollectionAggregationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptimizerStatisticsCollectionAggregationSummary
build()
OptimizerStatisticsCollectionAggregationSummary.Builder
completed(Integer completed)
The number of tasks or objects for which statistics gathering is completed.OptimizerStatisticsCollectionAggregationSummary.Builder
copy(OptimizerStatisticsCollectionAggregationSummary model)
OptimizerStatisticsCollectionAggregationSummary.Builder
failed(Integer failed)
The number of tasks or objects for which statistics gathering failed.OptimizerStatisticsCollectionAggregationSummary.Builder
groupBy(OptimizerStatisticsGroupByTypes groupBy)
The optimizer statistics tasks grouped by type.OptimizerStatisticsCollectionAggregationSummary.Builder
inProgress(Integer inProgress)
The number of tasks or objects for which statistics gathering is in progress.OptimizerStatisticsCollectionAggregationSummary.Builder
pending(Integer pending)
The number of tasks or objects for which statistics are yet to be gathered.OptimizerStatisticsCollectionAggregationSummary.Builder
skipped(Integer skipped)
The number of tasks or objects for which statistics gathering was skipped.OptimizerStatisticsCollectionAggregationSummary.Builder
timedOut(Integer timedOut)
The number of tasks or objects for which statistics gathering timed out.OptimizerStatisticsCollectionAggregationSummary.Builder
timeEnd(Date timeEnd)
Indicates the end of the hour as the statistics are aggregated per hour.OptimizerStatisticsCollectionAggregationSummary.Builder
timeStart(Date timeStart)
Indicates the start of the hour as the statistics are aggregated per hour.OptimizerStatisticsCollectionAggregationSummary.Builder
total(Integer total)
The total number of tasks or objects for which statistics collection is finished.OptimizerStatisticsCollectionAggregationSummary.Builder
unknown(Integer unknown)
The number of tasks or objects for which the status of statistics gathering is unknown.
-
-
-
Method Detail
-
groupBy
public OptimizerStatisticsCollectionAggregationSummary.Builder groupBy(OptimizerStatisticsGroupByTypes groupBy)
The optimizer statistics tasks grouped by type.- Parameters:
groupBy
- the value to set- Returns:
- this builder
-
timeStart
public OptimizerStatisticsCollectionAggregationSummary.Builder timeStart(Date timeStart)
Indicates the start of the hour as the statistics are aggregated per hour.- Parameters:
timeStart
- the value to set- Returns:
- this builder
-
timeEnd
public OptimizerStatisticsCollectionAggregationSummary.Builder timeEnd(Date timeEnd)
Indicates the end of the hour as the statistics are aggregated per hour.- Parameters:
timeEnd
- the value to set- Returns:
- this builder
-
pending
public OptimizerStatisticsCollectionAggregationSummary.Builder pending(Integer pending)
The number of tasks or objects for which statistics are yet to be gathered.- Parameters:
pending
- the value to set- Returns:
- this builder
-
inProgress
public OptimizerStatisticsCollectionAggregationSummary.Builder inProgress(Integer inProgress)
The number of tasks or objects for which statistics gathering is in progress.- Parameters:
inProgress
- the value to set- Returns:
- this builder
-
completed
public OptimizerStatisticsCollectionAggregationSummary.Builder completed(Integer completed)
The number of tasks or objects for which statistics gathering is completed.- Parameters:
completed
- the value to set- Returns:
- this builder
-
failed
public OptimizerStatisticsCollectionAggregationSummary.Builder failed(Integer failed)
The number of tasks or objects for which statistics gathering failed.- Parameters:
failed
- the value to set- Returns:
- this builder
-
skipped
public OptimizerStatisticsCollectionAggregationSummary.Builder skipped(Integer skipped)
The number of tasks or objects for which statistics gathering was skipped.- Parameters:
skipped
- the value to set- Returns:
- this builder
-
timedOut
public OptimizerStatisticsCollectionAggregationSummary.Builder timedOut(Integer timedOut)
The number of tasks or objects for which statistics gathering timed out.- Parameters:
timedOut
- the value to set- Returns:
- this builder
-
unknown
public OptimizerStatisticsCollectionAggregationSummary.Builder unknown(Integer unknown)
The number of tasks or objects for which the status of statistics gathering is unknown.- Parameters:
unknown
- the value to set- Returns:
- this builder
-
total
public OptimizerStatisticsCollectionAggregationSummary.Builder total(Integer total)
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.
- Parameters:
total
- the value to set- Returns:
- this builder
-
build
public OptimizerStatisticsCollectionAggregationSummary build()
-
copy
public OptimizerStatisticsCollectionAggregationSummary.Builder copy(OptimizerStatisticsCollectionAggregationSummary model)
-
-