@Generated(value="software.amazon.awssdk:codegen") public final class MetricDefinitionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDefinitionConfig.Builder,MetricDefinitionConfig>
This structure defines a metric that you want to use to evaluate the variations during a launch or experiment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricDefinitionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricDefinitionConfig.Builder |
builder() |
String |
entityIdKey()
The entity, such as a user or session, that does an action that causes a metric value to be recorded.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventPattern()
The EventBridge event pattern that defines how the metric is recorded.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
A name for the metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricDefinitionConfig.Builder> |
serializableBuilderClass() |
MetricDefinitionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
unitLabel()
A label for the units that the metric is measuring.
|
String |
valueKey()
The value that is tracked to produce the metric.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
userDetails.userID.public final 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.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
public final String name()
A name for the metric.
public final String unitLabel()
A label for the units that the metric is measuring.
public final String valueKey()
The value that is tracked to produce the metric.
public MetricDefinitionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricDefinitionConfig.Builder,MetricDefinitionConfig>public static MetricDefinitionConfig.Builder builder()
public static Class<? extends MetricDefinitionConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.