Interface CurrentMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CurrentMetric.Builder,CurrentMetric>,SdkBuilder<CurrentMetric.Builder,CurrentMetric>,SdkPojo
- Enclosing class:
- CurrentMetric
public static interface CurrentMetric.Builder extends SdkPojo, CopyableBuilder<CurrentMetric.Builder,CurrentMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CurrentMetric.Buildername(String name)The name of the metric.CurrentMetric.Buildername(CurrentMetricName name)The name of the metric.CurrentMetric.Builderunit(String unit)The unit for the metric.CurrentMetric.Builderunit(Unit unit)The unit for 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 Detail
-
name
CurrentMetric.Builder name(String name)
The name of the metric.
- Parameters:
name- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrentMetricName,CurrentMetricName
-
name
CurrentMetric.Builder name(CurrentMetricName name)
The name of the metric.
- Parameters:
name- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CurrentMetricName,CurrentMetricName
-
unit
CurrentMetric.Builder unit(String unit)
The unit for the metric.
-
unit
CurrentMetric.Builder unit(Unit unit)
The unit for the metric.
-
-