Interface MetricAttribute.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricAttribute.Builder,MetricAttribute>,SdkBuilder<MetricAttribute.Builder,MetricAttribute>,SdkPojo
- Enclosing class:
- MetricAttribute
public static interface MetricAttribute.Builder extends SdkPojo, CopyableBuilder<MetricAttribute.Builder,MetricAttribute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricAttribute.BuildereventType(String eventType)The metric's event type.MetricAttribute.Builderexpression(String expression)The attribute's expression.MetricAttribute.BuildermetricName(String metricName)The metric's name.-
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
-
eventType
MetricAttribute.Builder eventType(String eventType)
The metric's event type.
- Parameters:
eventType- The metric's event type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
MetricAttribute.Builder metricName(String metricName)
The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.
- Parameters:
metricName- The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
MetricAttribute.Builder expression(String expression)
The attribute's expression. Available functions are
SUM()orSAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).- Parameters:
expression- The attribute's expression. Available functions areSUM()orSAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-