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