@Stability(value=Stable) public static final class CfnExperiment.MetricGoalObjectProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnExperiment.MetricGoalObjectProperty>
CfnExperiment.MetricGoalObjectProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnExperiment.MetricGoalObjectProperty.Builder desiredChange(String desiredChange)
CfnExperiment.MetricGoalObjectProperty.getDesiredChange()desiredChange - `INCREASE` means that a variation with a higher number for this metric is performing better. This parameter is required.
DECREASE means that a variation with a lower number for this metric is performing better.this@Stability(value=Stable) public CfnExperiment.MetricGoalObjectProperty.Builder entityIdKey(String entityIdKey)
CfnExperiment.MetricGoalObjectProperty.getEntityIdKey()entityIdKey - The entity, such as a user or session, that does an action that causes a metric value to be recorded. This parameter is required.
An example is userDetails.userID .this@Stability(value=Stable) public CfnExperiment.MetricGoalObjectProperty.Builder eventPattern(String eventPattern)
CfnExperiment.MetricGoalObjectProperty.getEventPattern()eventPattern - The EventBridge event pattern that defines how the metric is recorded. This parameter is required.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns .this@Stability(value=Stable) public CfnExperiment.MetricGoalObjectProperty.Builder metricName(String metricName)
CfnExperiment.MetricGoalObjectProperty.getMetricName()metricName - A name for the metric. This parameter is required.
It can include up to 255 characters.this@Stability(value=Stable) public CfnExperiment.MetricGoalObjectProperty.Builder valueKey(String valueKey)
CfnExperiment.MetricGoalObjectProperty.getValueKey()valueKey - The JSON path to reference the numerical metric value in the event. This parameter is required.this@Stability(value=Stable) public CfnExperiment.MetricGoalObjectProperty.Builder unitLabel(String unitLabel)
CfnExperiment.MetricGoalObjectProperty.getUnitLabel()unitLabel - A label for the units that the metric is measuring.this@Stability(value=Stable) public CfnExperiment.MetricGoalObjectProperty build()
build in interface software.amazon.jsii.Builder<CfnExperiment.MetricGoalObjectProperty>CfnExperiment.MetricGoalObjectPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.