Interface CfnExperiment.OnlineAbConfigObjectProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnExperiment.OnlineAbConfigObjectProperty extends
A structure that contains the configuration of which variation to use as the "control" version.

The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 OnlineAbConfigObjectProperty onlineAbConfigObjectProperty = OnlineAbConfigObjectProperty.builder()
  • Method Details

    • getControlTreatmentName

      @Stability(Stable) @Nullable default String getControlTreatmentName()
      The name of the variation that is to be the default variation that the other variations are compared to.
    • getTreatmentWeights

      @Stability(Stable) @Nullable default Object getTreatmentWeights()
      A set of key-value pairs.

      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.

    • builder

      @Stability(Stable) static CfnExperiment.OnlineAbConfigObjectProperty.Builder builder()
      a CfnExperiment.OnlineAbConfigObjectProperty.Builder of CfnExperiment.OnlineAbConfigObjectProperty