public static class SummarizedMetricData.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SummarizedMetricData.Builder |
aggregatedValue(Float aggregatedValue)
The aggregated metric value for the specified request.
|
SummarizedMetricData.Builder |
aggregationMethod(String aggregationMethod)
The aggregation method used for aggregating the metric values.
|
SummarizedMetricData |
build() |
SummarizedMetricData.Builder |
copy(SummarizedMetricData model) |
SummarizedMetricData.Builder |
dimensions(Map<String,DimensionValue> dimensions)
Qualifiers provided in the definition of the returned metric.
|
SummarizedMetricData.Builder |
resolution(String resolution)
The duration over which the metric data is aggregated.
|
SummarizedMetricData.Builder |
sampleTime(Date sampleTime)
The time at which the metric data was recorded.
|
public SummarizedMetricData.Builder sampleTime(Date sampleTime)
The time at which the metric data was recorded.
sampleTime
- the value to setpublic SummarizedMetricData.Builder resolution(String resolution)
The duration over which the metric data is aggregated. Supported values: 1m
-60m
, 1h
-24h
, 1d
.
resolution
- the value to setpublic SummarizedMetricData.Builder dimensions(Map<String,DimensionValue> dimensions)
Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace.
dimensions
- the value to setpublic SummarizedMetricData.Builder aggregationMethod(String aggregationMethod)
The aggregation method used for aggregating the metric values. The aggregation method depends on the metric itself.
aggregationMethod
- the value to setpublic SummarizedMetricData.Builder aggregatedValue(Float aggregatedValue)
The aggregated metric value for the specified request.
aggregatedValue
- the value to setpublic SummarizedMetricData build()
public SummarizedMetricData.Builder copy(SummarizedMetricData model)
Copyright © 2016–2024. All rights reserved.