Interface CfnExperiment.TreatmentToWeightProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperiment.TreatmentToWeightProperty.Jsii$Proxy
- Enclosing class:
CfnExperiment
@Stability(Stable)
public static interface CfnExperiment.TreatmentToWeightProperty
extends software.amazon.jsii.JsiiSerializable
This structure defines how much experiment traffic to allocate to one treatment used 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.*; TreatmentToWeightProperty treatmentToWeightProperty = TreatmentToWeightProperty.builder() .splitWeight(123) .treatment("treatment") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnExperiment.TreatmentToWeightProperty
static final class
An implementation forCfnExperiment.TreatmentToWeightProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The portion of experiment traffic to allocate to this treatment.The name of the treatment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSplitWeight
The portion of experiment traffic to allocate to this treatment.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.
- See Also:
-
getTreatment
The name of the treatment.- See Also:
-
builder
-