public static interface MetricKeyDataPoints.Builder extends SdkPojo, CopyableBuilder<MetricKeyDataPoints.Builder,MetricKeyDataPoints>
| Modifier and Type | Method and Description |
|---|---|
MetricKeyDataPoints.Builder |
dataPoints(Collection<DataPoint> dataPoints)
An array of timestamp-value pairs, representing measurements over a period of time.
|
MetricKeyDataPoints.Builder |
dataPoints(Consumer<DataPoint.Builder>... dataPoints)
An array of timestamp-value pairs, representing measurements over a period of time.
|
MetricKeyDataPoints.Builder |
dataPoints(DataPoint... dataPoints)
An array of timestamp-value pairs, representing measurements over a period of time.
|
default MetricKeyDataPoints.Builder |
key(Consumer<ResponseResourceMetricKey.Builder> key)
The dimensions to which the data points apply.
|
MetricKeyDataPoints.Builder |
key(ResponseResourceMetricKey key)
The dimensions to which the data points apply.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricKeyDataPoints.Builder key(ResponseResourceMetricKey key)
The dimensions to which the data points apply.
key - The dimensions to which the data points apply.default MetricKeyDataPoints.Builder key(Consumer<ResponseResourceMetricKey.Builder> key)
The dimensions to which the data points apply.
This is a convenience method that creates an instance of theResponseResourceMetricKey.Builder
avoiding the need to create one manually via ResponseResourceMetricKey.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to key(ResponseResourceMetricKey).
key - a consumer that will call methods on ResponseResourceMetricKey.Builderkey(ResponseResourceMetricKey)MetricKeyDataPoints.Builder dataPoints(Collection<DataPoint> dataPoints)
An array of timestamp-value pairs, representing measurements over a period of time.
dataPoints - An array of timestamp-value pairs, representing measurements over a period of time.MetricKeyDataPoints.Builder dataPoints(DataPoint... dataPoints)
An array of timestamp-value pairs, representing measurements over a period of time.
dataPoints - An array of timestamp-value pairs, representing measurements over a period of time.MetricKeyDataPoints.Builder dataPoints(Consumer<DataPoint.Builder>... dataPoints)
An array of timestamp-value pairs, representing measurements over a period of time.
This is a convenience method that creates an instance of theDataPoint.Builder avoiding the need to create one manually
via DataPoint.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #dataPoints(List.
dataPoints - a consumer that will call methods on
DataPoint.Builder#dataPoints(java.util.Collection) Copyright © 2023. All rights reserved.