Interface CfnExperimentPropsMixin.TreatmentToWeightProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperimentPropsMixin.TreatmentToWeightProperty.Jsii$Proxy
- Enclosing class:
CfnExperimentPropsMixin
@Stability(Stable)
public static interface CfnExperimentPropsMixin.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.cfnpropertymixins.services.evidently.*;
TreatmentToWeightProperty treatmentToWeightProperty = TreatmentToWeightProperty.builder()
.splitWeight(123)
.treatment("treatment")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnExperimentPropsMixin.TreatmentToWeightPropertystatic final classAn implementation forCfnExperimentPropsMixin.TreatmentToWeightProperty -
Method Summary
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
-