public static interface MetricDefinition.Builder extends SdkPojo, CopyableBuilder<MetricDefinition.Builder,MetricDefinition>
| Modifier and Type | Method and Description |
|---|---|
MetricDefinition.Builder |
entityIdKey(String entityIdKey)
The entity, such as a user or session, that does an action that causes a metric value to be recorded.
|
MetricDefinition.Builder |
eventPattern(String eventPattern)
The EventBridge event pattern that defines how the metric is recorded.
|
MetricDefinition.Builder |
name(String name)
The name of the metric.
|
MetricDefinition.Builder |
unitLabel(String unitLabel)
The label for the units that the metric is measuring.
|
MetricDefinition.Builder |
valueKey(String valueKey)
The value that is tracked to produce the metric.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricDefinition.Builder entityIdKey(String entityIdKey)
The entity, such as a user or session, that does an action that causes a metric value to be recorded.
entityIdKey - The entity, such as a user or session, that does an action that causes a metric value to be recorded.MetricDefinition.Builder eventPattern(String eventPattern)
The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
eventPattern - The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
MetricDefinition.Builder name(String name)
The name of the metric.
name - The name of the metric.MetricDefinition.Builder unitLabel(String unitLabel)
The label for the units that the metric is measuring.
unitLabel - The label for the units that the metric is measuring.MetricDefinition.Builder valueKey(String valueKey)
The value that is tracked to produce the metric.
valueKey - The value that is tracked to produce the metric.Copyright © 2022. All rights reserved.