public static class PerformanceMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PerformanceMetrics |
build() |
PerformanceMetrics.Builder |
copy(PerformanceMetrics model) |
PerformanceMetrics.Builder |
datapoints(List<DataPoints> datapoints)
The aggregated datapoints of the metric.
|
PerformanceMetrics.Builder |
dimensions(Object dimensions)
The dimensions of the Data Guard performance metrics, such as primary database ID,
primary database unique name.
|
PerformanceMetrics.Builder |
metadata(Object metadata)
The metadata of the metric, such as Unit.
|
PerformanceMetrics.Builder |
name(String name)
The name of the metric.
|
public PerformanceMetrics.Builder name(String name)
The name of the metric.
name
- the value to setpublic PerformanceMetrics.Builder dimensions(Object dimensions)
The dimensions of the Data Guard performance metrics, such as primary database ID, primary database unique name.
dimensions
- the value to setpublic PerformanceMetrics.Builder metadata(Object metadata)
The metadata of the metric, such as Unit.
metadata
- the value to setpublic PerformanceMetrics.Builder datapoints(List<DataPoints> datapoints)
The aggregated datapoints of the metric.
datapoints
- the value to setpublic PerformanceMetrics build()
public PerformanceMetrics.Builder copy(PerformanceMetrics model)
Copyright © 2016–2024. All rights reserved.