Interface CfnExperimentPropsMixin.MetricGoalObjectProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperimentPropsMixin.MetricGoalObjectProperty.Jsii$Proxy
- Enclosing class:
CfnExperimentPropsMixin
@Stability(Stable)
public static interface CfnExperimentPropsMixin.MetricGoalObjectProperty
extends software.amazon.jsii.JsiiSerializable
Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.evidently.*;
MetricGoalObjectProperty metricGoalObjectProperty = MetricGoalObjectProperty.builder()
.desiredChange("desiredChange")
.entityIdKey("entityIdKey")
.eventPattern("eventPattern")
.metricName("metricName")
.unitLabel("unitLabel")
.valueKey("valueKey")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnExperimentPropsMixin.MetricGoalObjectPropertystatic final classAn implementation forCfnExperimentPropsMixin.MetricGoalObjectProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringINCREASEmeans that a variation with a higher number for this metric is performing better.default StringThe entity, such as a user or session, that does an action that causes a metric value to be recorded.default StringThe EventBridge event pattern that defines how the metric is recorded.default StringA name for the metric.default StringA label for the units that the metric is measuring.default StringThe JSON path to reference the numerical metric value in the event.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDesiredChange
INCREASEmeans that a variation with a higher number for this metric is performing better.DECREASEmeans that a variation with a lower number for this metric is performing better.- See Also:
-
getEntityIdKey
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.- See Also:
-
getEventPattern
The EventBridge event pattern that defines how the metric is recorded.For more information about EventBridge event patterns, see Amazon EventBridge event patterns .
- See Also:
-
getMetricName
A name for the metric.It can include up to 255 characters.
- See Also:
-
getUnitLabel
A label for the units that the metric is measuring.- See Also:
-
getValueKey
The JSON path to reference the numerical metric value in the event.- See Also:
-
builder
-