Interface MetricValue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricValue.Builder,MetricValue>,SdkBuilder<MetricValue.Builder,MetricValue>,SdkPojo
- Enclosing class:
- MetricValue
public static interface MetricValue.Builder extends SdkPojo, CopyableBuilder<MetricValue.Builder,MetricValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricValue.Builderamount(String amount)The actual number that represents the metric.MetricValue.Builderunit(String unit)The unit that the metric is given in.-
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 Detail
-
amount
MetricValue.Builder amount(String amount)
The actual number that represents the metric.
- Parameters:
amount- The actual number that represents the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
MetricValue.Builder unit(String unit)
The unit that the metric is given in.
- Parameters:
unit- The unit that the metric is given in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-