public static interface HistoricalMetricData.Builder extends SdkPojo, CopyableBuilder<HistoricalMetricData.Builder,HistoricalMetricData>
| Modifier and Type | Method and Description |
|---|---|
default HistoricalMetricData.Builder |
metric(Consumer<HistoricalMetric.Builder> metric)
Information about the metric.
|
HistoricalMetricData.Builder |
metric(HistoricalMetric metric)
Information about the metric.
|
HistoricalMetricData.Builder |
value(Double value)
The value of the metric.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHistoricalMetricData.Builder metric(HistoricalMetric metric)
Information about the metric.
metric - Information about the metric.default HistoricalMetricData.Builder metric(Consumer<HistoricalMetric.Builder> metric)
Information about the metric.
This is a convenience method that creates an instance of theHistoricalMetric.Builder avoiding the
need to create one manually via HistoricalMetric.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to metric(HistoricalMetric).metric - a consumer that will call methods on HistoricalMetric.Buildermetric(HistoricalMetric)HistoricalMetricData.Builder value(Double value)
The value of the metric.
value - The value of the metric.Copyright © 2022. All rights reserved.