Class DbManagementAnalyticsMetric.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.DbManagementAnalyticsMetric.Builder
-
- Enclosing class:
- DbManagementAnalyticsMetric
public static class DbManagementAnalyticsMetric.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbManagementAnalyticsMetricbuild()DbManagementAnalyticsMetric.Buildercopy(DbManagementAnalyticsMetric model)DbManagementAnalyticsMetric.Builderdimensions(Map<String,String> dimensions)The qualifiers provided in the definition of the returned metric.DbManagementAnalyticsMetric.BuilderdurationInSeconds(Long durationInSeconds)The duration of the returned aggregated data in seconds.DbManagementAnalyticsMetric.Buildermean(Double mean)The mean value of the metric.DbManagementAnalyticsMetric.Buildermetadata(Map<String,String> metadata)The additional information about the metric.DbManagementAnalyticsMetric.BuildermetricName(String metricName)The name of the metric.DbManagementAnalyticsMetric.BuilderstartTimestampInEpochSeconds(Long startTimestampInEpochSeconds)The start time associated with the value of the metric.
-
-
-
Method Detail
-
metricName
public DbManagementAnalyticsMetric.Builder metricName(String metricName)
The name of the metric.- Parameters:
metricName- the value to set- Returns:
- this builder
-
durationInSeconds
public DbManagementAnalyticsMetric.Builder durationInSeconds(Long durationInSeconds)
The duration of the returned aggregated data in seconds.- Parameters:
durationInSeconds- the value to set- Returns:
- this builder
-
metadata
public DbManagementAnalyticsMetric.Builder metadata(Map<String,String> metadata)
The additional information about the metric.Example: "unit": "bytes"
- Parameters:
metadata- the value to set- Returns:
- this builder
-
dimensions
public DbManagementAnalyticsMetric.Builder dimensions(Map<String,String> dimensions)
The qualifiers provided in the definition of the returned metric.- Parameters:
dimensions- the value to set- Returns:
- this builder
-
startTimestampInEpochSeconds
public DbManagementAnalyticsMetric.Builder startTimestampInEpochSeconds(Long startTimestampInEpochSeconds)
The start time associated with the value of the metric.- Parameters:
startTimestampInEpochSeconds- the value to set- Returns:
- this builder
-
mean
public DbManagementAnalyticsMetric.Builder mean(Double mean)
The mean value of the metric.- Parameters:
mean- the value to set- Returns:
- this builder
-
build
public DbManagementAnalyticsMetric build()
-
copy
public DbManagementAnalyticsMetric.Builder copy(DbManagementAnalyticsMetric model)
-
-