@Stability(value=Stable)
public static interface CfnExperiment.TreatmentObjectProperty
extends software.amazon.jsii.JsiiSerializable
A treatment is a variation of the feature that you are including in the 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.services.evidently.*;
TreatmentObjectProperty treatmentObjectProperty = TreatmentObjectProperty.builder()
.feature("feature")
.treatmentName("treatmentName")
.variation("variation")
// the properties below are optional
.description("description")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnExperiment.TreatmentObjectProperty.Builder
A builder for
CfnExperiment.TreatmentObjectProperty |
static class |
CfnExperiment.TreatmentObjectProperty.Jsii$Proxy
An implementation for
CfnExperiment.TreatmentObjectProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnExperiment.TreatmentObjectProperty.Builder |
builder() |
default String |
getDescription()
The description of the treatment.
|
String |
getFeature()
The name of the feature for this experiment.
|
String |
getTreatmentName()
A name for this treatment.
|
String |
getVariation()
The name of the variation to use for this treatment.
|
@Stability(value=Stable) @NotNull String getFeature()
@Stability(value=Stable) @NotNull String getTreatmentName()
It can include up to 127 characters.
@Stability(value=Stable) @NotNull String getVariation()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) static CfnExperiment.TreatmentObjectProperty.Builder builder()
Copyright © 2022. All rights reserved.