public static interface CfnExperiment.TreatmentToWeightProperty
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.*; TreatmentToWeightProperty treatmentToWeightProperty = TreatmentToWeightProperty.builder() .splitWeight(123) .treatment("treatment") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnExperiment.TreatmentToWeightProperty.Builder
A builder for
CfnExperiment.TreatmentToWeightProperty |
static class |
CfnExperiment.TreatmentToWeightProperty.Jsii$Proxy
An implementation for
CfnExperiment.TreatmentToWeightProperty |
Modifier and Type | Method and Description |
---|---|
static CfnExperiment.TreatmentToWeightProperty.Builder |
builder() |
java.lang.Number |
getSplitWeight()
The portion of experiment traffic to allocate to this treatment.
|
java.lang.String |
getTreatment()
The name of the treatment.
|
java.lang.Number getSplitWeight()
Specify the traffic portion in thousandths of a percent, so 20,000 allocated to a treatment would allocate 20% of the experiment traffic to that treatment.
java.lang.String getTreatment()
static CfnExperiment.TreatmentToWeightProperty.Builder builder()