Interface CurrentMetricData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CurrentMetricData.Builder,
,CurrentMetricData> SdkBuilder<CurrentMetricData.Builder,
,CurrentMetricData> SdkPojo
- Enclosing class:
CurrentMetricData
public static interface CurrentMetricData.Builder
extends SdkPojo, CopyableBuilder<CurrentMetricData.Builder,CurrentMetricData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CurrentMetricData.Builder
metric
(Consumer<CurrentMetric.Builder> metric) Information about the metric.metric
(CurrentMetric metric) Information about the metric.The value of the metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
metric
Information about the metric.
- Parameters:
metric
- Information about the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
Information about the metric.
This is a convenience method that creates an instance of theCurrentMetric.Builder
avoiding the need to create one manually viaCurrentMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometric(CurrentMetric)
.- Parameters:
metric
- a consumer that will call methods onCurrentMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
value
The value of the metric.
- Parameters:
value
- The value of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-