public static class TimeSeriesMetricDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TimeSeriesMetricDefinition |
build() |
TimeSeriesMetricDefinition.Builder |
copy(TimeSeriesMetricDefinition model) |
TimeSeriesMetricDefinition.Builder |
datapoints(List<TimeSeriesMetricDataPoint> datapoints)
The time series metric data for the given metric.
|
TimeSeriesMetricDefinition.Builder |
metricName(String metricName)
The name of the metric the time series data corresponds to.
|
public TimeSeriesMetricDefinition.Builder metricName(String metricName)
The name of the metric the time series data corresponds to.
metricName
- the value to setpublic TimeSeriesMetricDefinition.Builder datapoints(List<TimeSeriesMetricDataPoint> datapoints)
The time series metric data for the given metric.
datapoints
- the value to setpublic TimeSeriesMetricDefinition build()
public TimeSeriesMetricDefinition.Builder copy(TimeSeriesMetricDefinition model)
Copyright © 2016–2024. All rights reserved.