public static interface CfnExperiment.OnlineAbConfigObjectProperty
The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
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.*; OnlineAbConfigObjectProperty onlineAbConfigObjectProperty = OnlineAbConfigObjectProperty.builder() .controlTreatmentName("controlTreatmentName") .treatmentWeights(List.of(TreatmentToWeightProperty.builder() .splitWeight(123) .treatment("treatment") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnExperiment.OnlineAbConfigObjectProperty.Builder
A builder for
CfnExperiment.OnlineAbConfigObjectProperty |
static class |
CfnExperiment.OnlineAbConfigObjectProperty.Jsii$Proxy
An implementation for
CfnExperiment.OnlineAbConfigObjectProperty |
Modifier and Type | Method and Description |
---|---|
static CfnExperiment.OnlineAbConfigObjectProperty.Builder |
builder() |
default java.lang.String |
getControlTreatmentName()
The name of the variation that is to be the default variation that the other variations are compared to.
|
default java.lang.Object |
getTreatmentWeights()
A set of key-value pairs.
|
default java.lang.String getControlTreatmentName()
default java.lang.Object getTreatmentWeights()
The keys are treatment names, and the values are the portion of experiment traffic to be assigned to that treatment. Specify the traffic portion in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation.
static CfnExperiment.OnlineAbConfigObjectProperty.Builder builder()