public static class DbManagementAnalyticsMetric.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbManagementAnalyticsMetric |
build() |
DbManagementAnalyticsMetric.Builder |
copy(DbManagementAnalyticsMetric model) |
DbManagementAnalyticsMetric.Builder |
dimensions(Map<String,String> dimensions)
The qualifiers provided in the definition of the returned metric.
|
DbManagementAnalyticsMetric.Builder |
durationInSeconds(Long durationInSeconds)
The duration of the returned aggregated data in seconds.
|
DbManagementAnalyticsMetric.Builder |
mean(Double mean)
The mean value of the metric.
|
DbManagementAnalyticsMetric.Builder |
metadata(Map<String,String> metadata)
The additional information about the metric.
|
DbManagementAnalyticsMetric.Builder |
metricName(String metricName)
The name of the metric.
|
DbManagementAnalyticsMetric.Builder |
startTimestampInEpochSeconds(Long startTimestampInEpochSeconds)
The start time associated with the value of the metric.
|
public DbManagementAnalyticsMetric.Builder metricName(String metricName)
The name of the metric.
metricName
- the value to setpublic DbManagementAnalyticsMetric.Builder durationInSeconds(Long durationInSeconds)
The duration of the returned aggregated data in seconds.
durationInSeconds
- the value to setpublic DbManagementAnalyticsMetric.Builder metadata(Map<String,String> metadata)
The additional information about the metric.
Example: "unit": "bytes"
metadata
- the value to setpublic DbManagementAnalyticsMetric.Builder dimensions(Map<String,String> dimensions)
The qualifiers provided in the definition of the returned metric.
dimensions
- the value to setpublic DbManagementAnalyticsMetric.Builder startTimestampInEpochSeconds(Long startTimestampInEpochSeconds)
The start time associated with the value of the metric.
startTimestampInEpochSeconds
- the value to setpublic DbManagementAnalyticsMetric.Builder mean(Double mean)
The mean value of the metric.
mean
- the value to setpublic DbManagementAnalyticsMetric build()
public DbManagementAnalyticsMetric.Builder copy(DbManagementAnalyticsMetric model)
Copyright © 2016–2024. All rights reserved.