Interface MetricResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricResult.Builder,,MetricResult> SdkBuilder<MetricResult.Builder,,MetricResult> SdkPojo
- Enclosing class:
MetricResult
@Mutable
@NotThreadSafe
public static interface MetricResult.Builder
extends SdkPojo, CopyableBuilder<MetricResult.Builder,MetricResult>
-
Method Summary
Modifier and TypeMethodDescriptionmetricName(String metricName) The name of the metric.metricValue(Double metricValue) The value for the metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
metricName
The name of the metric.
- Parameters:
metricName- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricValue
The value for the metric.
- Parameters:
metricValue- The value for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-