public static interface MetricDatum.Builder extends SdkPojo, CopyableBuilder<MetricDatum.Builder,MetricDatum>
| Modifier and Type | Method and Description |
|---|---|
MetricDatum.Builder |
dimensions(Collection<Dimension> dimensions)
Internal only.
|
MetricDatum.Builder |
dimensions(Consumer<Dimension.Builder>... dimensions)
Internal only.
|
MetricDatum.Builder |
dimensions(Dimension... dimensions)
Internal only.
|
MetricDatum.Builder |
metricName(String metricName)
Internal only.
|
default MetricDatum.Builder |
statisticValues(Consumer<StatisticSet.Builder> statisticValues)
Internal only.
|
MetricDatum.Builder |
statisticValues(StatisticSet statisticValues)
Internal only.
|
MetricDatum.Builder |
timestamp(Instant timestamp)
Internal only.
|
MetricDatum.Builder |
unit(String unit)
Internal only.
|
MetricDatum.Builder |
unit(Unit unit)
Internal only.
|
MetricDatum.Builder |
value(Double value)
Internal only.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricDatum.Builder dimensions(Collection<Dimension> dimensions)
Internal only. The dimensions associated with the metric.
dimensions - Internal only. The dimensions associated with the metric.MetricDatum.Builder dimensions(Dimension... dimensions)
Internal only. The dimensions associated with the metric.
dimensions - Internal only. The dimensions associated with the metric.MetricDatum.Builder dimensions(Consumer<Dimension.Builder>... dimensions)
Internal only. The dimensions associated with the metric.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #dimensions(List) .dimensions - a consumer that will call methods on List.Builder #dimensions(List) MetricDatum.Builder metricName(String metricName)
Internal only. The name of the metric.
metricName - Internal only. The name of the metric.MetricDatum.Builder statisticValues(StatisticSet statisticValues)
Internal only. The statistical values for the metric.
statisticValues - Internal only. The statistical values for the metric.default MetricDatum.Builder statisticValues(Consumer<StatisticSet.Builder> statisticValues)
Internal only. The statistical values for the metric.
This is a convenience that creates an instance of theStatisticSet.Builder avoiding the need to
create one manually via StatisticSet.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to statisticValues(StatisticSet).statisticValues - a consumer that will call methods on StatisticSet.BuilderstatisticValues(StatisticSet)MetricDatum.Builder timestamp(Instant timestamp)
Internal only. The time the metric data was received.
timestamp - Internal only. The time the metric data was received.MetricDatum.Builder unit(String unit)
Internal only. The unit used to store the metric.
MetricDatum.Builder unit(Unit unit)
Internal only. The unit used to store the metric.
MetricDatum.Builder value(Double value)
Internal only. The value for the metric.
value - Internal only. The value for the metric.Copyright © 2022. All rights reserved.