public static interface MetricDefinitionConfig.Builder extends SdkPojo, CopyableBuilder<MetricDefinitionConfig.Builder,MetricDefinitionConfig>
| Modifier and Type | Method and Description |
|---|---|
MetricDefinitionConfig.Builder |
entityIdKey(String entityIdKey)
The entity, such as a user or session, that does an action that causes a metric value to be recorded.
|
MetricDefinitionConfig.Builder |
eventPattern(String eventPattern)
The EventBridge event pattern that defines how the metric is recorded.
|
MetricDefinitionConfig.Builder |
name(String name)
A name for the metric.
|
MetricDefinitionConfig.Builder |
unitLabel(String unitLabel)
A label for the units that the metric is measuring.
|
MetricDefinitionConfig.Builder |
valueKey(String valueKey)
The value that is tracked to produce the metric.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricDefinitionConfig.Builder entityIdKey(String entityIdKey)
The entity, such as a user or session, that does an action that causes a metric value to be recorded. An
example is userDetails.userID.
entityIdKey - The entity, such as a user or session, that does an action that causes a metric value to be recorded.
An example is userDetails.userID.MetricDefinitionConfig.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.
MetricDefinitionConfig.Builder name(String name)
A name for the metric.
name - A name for the metric.MetricDefinitionConfig.Builder unitLabel(String unitLabel)
A label for the units that the metric is measuring.
unitLabel - A label for the units that the metric is measuring.MetricDefinitionConfig.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.