public static class MySqlFleetMetricSummaryDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MySqlFleetMetricSummaryDefinition |
build() |
MySqlFleetMetricSummaryDefinition.Builder |
copy(MySqlFleetMetricSummaryDefinition model) |
MySqlFleetMetricSummaryDefinition.Builder |
dimensions(List<MetricDimensionDefinition> dimensions)
The unique dimension key and values of the metric.
|
MySqlFleetMetricSummaryDefinition.Builder |
metricName(String metricName)
The name of the metric.
|
MySqlFleetMetricSummaryDefinition.Builder |
metricValue(BigDecimal metricValue)
The aggregated metric value.
|
MySqlFleetMetricSummaryDefinition.Builder |
unit(String unit)
The unit of the metric value.
|
public MySqlFleetMetricSummaryDefinition.Builder metricValue(BigDecimal metricValue)
The aggregated metric value.
metricValue
- the value to setpublic MySqlFleetMetricSummaryDefinition.Builder dimensions(List<MetricDimensionDefinition> dimensions)
The unique dimension key and values of the metric.
dimensions
- the value to setpublic MySqlFleetMetricSummaryDefinition.Builder metricName(String metricName)
The name of the metric.
metricName
- the value to setpublic MySqlFleetMetricSummaryDefinition.Builder unit(String unit)
The unit of the metric value.
unit
- the value to setpublic MySqlFleetMetricSummaryDefinition build()
public MySqlFleetMetricSummaryDefinition.Builder copy(MySqlFleetMetricSummaryDefinition model)
Copyright © 2016–2024. All rights reserved.