Interface Metric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Metric.Builder,Metric>,SdkBuilder<Metric.Builder,Metric>,SdkPojo
- Enclosing class:
- Metric
public static interface Metric.Builder extends SdkPojo, CopyableBuilder<Metric.Builder,Metric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Metric.BuilderaggregationFunction(String aggregationFunction)The function with which the metric is calculated.Metric.BuilderaggregationFunction(AggregationFunction aggregationFunction)The function with which the metric is calculated.Metric.BuildermetricName(String metricName)The name of the metric.Metric.Buildernamespace(String namespace)The namespace 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
-
metricName
Metric.Builder metricName(String 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.
-
aggregationFunction
Metric.Builder aggregationFunction(String aggregationFunction)
The function with which the metric is calculated.
- Parameters:
aggregationFunction- The function with which the metric is calculated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationFunction,AggregationFunction
-
aggregationFunction
Metric.Builder aggregationFunction(AggregationFunction aggregationFunction)
The function with which the metric is calculated.
- Parameters:
aggregationFunction- The function with which the metric is calculated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationFunction,AggregationFunction
-
namespace
Metric.Builder namespace(String namespace)
The namespace for the metric.
- Parameters:
namespace- The namespace for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-