public static class HeatWaveFleetMetricDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HeatWaveFleetMetricDefinition |
build() |
HeatWaveFleetMetricDefinition.Builder |
copy(HeatWaveFleetMetricDefinition model) |
HeatWaveFleetMetricDefinition.Builder |
dimensions(List<MetricDimensionDefinition> dimensions)
The dimensions of the metric.
|
HeatWaveFleetMetricDefinition.Builder |
metricName(String metricName)
The name of the metric.
|
HeatWaveFleetMetricDefinition.Builder |
metricValue(Double metricValue)
The value of the metric.
|
HeatWaveFleetMetricDefinition.Builder |
timestamp(Date timestamp)
The data point date and time in UTC in ISO-8601 format.
|
HeatWaveFleetMetricDefinition.Builder |
unit(String unit)
The unit of the metric value.
|
public HeatWaveFleetMetricDefinition.Builder metricName(String metricName)
The name of the metric.
metricName
- the value to setpublic HeatWaveFleetMetricDefinition.Builder metricValue(Double metricValue)
The value of the metric.
metricValue
- the value to setpublic HeatWaveFleetMetricDefinition.Builder timestamp(Date timestamp)
The data point date and time in UTC in ISO-8601 format.
timestamp
- the value to setpublic HeatWaveFleetMetricDefinition.Builder dimensions(List<MetricDimensionDefinition> dimensions)
The dimensions of the metric.
dimensions
- the value to setpublic HeatWaveFleetMetricDefinition.Builder unit(String unit)
The unit of the metric value.
unit
- the value to setpublic HeatWaveFleetMetricDefinition build()
public HeatWaveFleetMetricDefinition.Builder copy(HeatWaveFleetMetricDefinition model)
Copyright © 2016–2024. All rights reserved.