public static class FleetMetricSummaryDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FleetMetricSummaryDefinition.Builder |
baselineValue(Double baselineValue)
The metric aggregated value at the baseline date and time.
|
FleetMetricSummaryDefinition |
build() |
FleetMetricSummaryDefinition.Builder |
copy(FleetMetricSummaryDefinition model) |
FleetMetricSummaryDefinition.Builder |
dimensions(List<MetricDimensionDefinition> dimensions)
The unique dimension key and values of the baseline metric.
|
FleetMetricSummaryDefinition.Builder |
metricName(String metricName)
The name of the metric.
|
FleetMetricSummaryDefinition.Builder |
percentageChange(Double percentageChange)
The percentage change in the metric aggregated value compared to the baseline value.
|
FleetMetricSummaryDefinition.Builder |
targetValue(Double targetValue)
The metric aggregated value at the target date and time.
|
FleetMetricSummaryDefinition.Builder |
unit(String unit)
The unit of the value.
|
public FleetMetricSummaryDefinition.Builder metricName(String metricName)
The name of the metric.
metricName
- the value to setpublic FleetMetricSummaryDefinition.Builder baselineValue(Double baselineValue)
The metric aggregated value at the baseline date and time.
baselineValue
- the value to setpublic FleetMetricSummaryDefinition.Builder targetValue(Double targetValue)
The metric aggregated value at the target date and time.
targetValue
- the value to setpublic FleetMetricSummaryDefinition.Builder unit(String unit)
The unit of the value.
unit
- the value to setpublic FleetMetricSummaryDefinition.Builder percentageChange(Double percentageChange)
The percentage change in the metric aggregated value compared to the baseline value.
percentageChange
- the value to setpublic FleetMetricSummaryDefinition.Builder dimensions(List<MetricDimensionDefinition> dimensions)
The unique dimension key and values of the baseline metric.
dimensions
- the value to setpublic FleetMetricSummaryDefinition build()
public FleetMetricSummaryDefinition.Builder copy(FleetMetricSummaryDefinition model)
Copyright © 2016–2024. All rights reserved.