Class AwrDbMetricSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.AwrDbMetricSummary.Builder
-
- Enclosing class:
- AwrDbMetricSummary
public static class AwrDbMetricSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrDbMetricSummary.Builder
avgValue(Double avgValue)
The average value of the sampling period.AwrDbMetricSummary
build()
AwrDbMetricSummary.Builder
copy(AwrDbMetricSummary model)
AwrDbMetricSummary.Builder
maxValue(Double maxValue)
The maximum value of the sampling period.AwrDbMetricSummary.Builder
minValue(Double minValue)
The minimum value of the sampling period.AwrDbMetricSummary.Builder
name(String name)
The name of the metric.AwrDbMetricSummary.Builder
timestamp(Date timestamp)
The time of the sampling.
-
-
-
Method Detail
-
name
public AwrDbMetricSummary.Builder name(String name)
The name of the metric.- Parameters:
name
- the value to set- Returns:
- this builder
-
timestamp
public AwrDbMetricSummary.Builder timestamp(Date timestamp)
The time of the sampling.- Parameters:
timestamp
- the value to set- Returns:
- this builder
-
avgValue
public AwrDbMetricSummary.Builder avgValue(Double avgValue)
The average value of the sampling period.- Parameters:
avgValue
- the value to set- Returns:
- this builder
-
minValue
public AwrDbMetricSummary.Builder minValue(Double minValue)
The minimum value of the sampling period.- Parameters:
minValue
- the value to set- Returns:
- this builder
-
maxValue
public AwrDbMetricSummary.Builder maxValue(Double maxValue)
The maximum value of the sampling period.- Parameters:
maxValue
- the value to set- Returns:
- this builder
-
build
public AwrDbMetricSummary build()
-
copy
public AwrDbMetricSummary.Builder copy(AwrDbMetricSummary model)
-
-