Interface MetricUsage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricUsage.Builder,,MetricUsage> SdkBuilder<MetricUsage.Builder,,MetricUsage> SdkPojo
- Enclosing class:
MetricUsage
@Mutable
@NotThreadSafe
public static interface MetricUsage.Builder
extends SdkPojo, CopyableBuilder<MetricUsage.Builder,MetricUsage>
-
Method Summary
Modifier and TypeMethodDescriptionThe metric this usage is for.The metric's usage over the window, as a plain decimal string (for example, "1500" or "12.5").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
-
metricId
The metric this usage is for.
- Parameters:
metricId- The metric this usage is for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
The metric's usage over the window, as a plain decimal string (for example, "1500" or "12.5"). For a SUM or COUNT metric this is the total; for a MAX metric it is the largest value recorded. Within a fixed window the value can only grow, as late-arriving events are counted.
- Parameters:
quantity- The metric's usage over the window, as a plain decimal string (for example, "1500" or "12.5"). For a SUM or COUNT metric this is the total; for a MAX metric it is the largest value recorded. Within a fixed window the value can only grow, as late-arriving events are counted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-