Interface OnlineAbConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OnlineAbConfig.Builder,OnlineAbConfig>, SdkBuilder<OnlineAbConfig.Builder,OnlineAbConfig>, SdkPojo
Enclosing class:
OnlineAbConfig

public static interface OnlineAbConfig.Builder extends SdkPojo, CopyableBuilder<OnlineAbConfig.Builder,OnlineAbConfig>
  • Method Details

    • controlTreatmentName

      OnlineAbConfig.Builder controlTreatmentName(String controlTreatmentName)

      The name of the variation that is to be the default variation that the other variations are compared to.

      Parameters:
      controlTreatmentName - The name of the variation that is to be the default variation that the other variations are compared to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • treatmentWeights

      OnlineAbConfig.Builder treatmentWeights(Map<String,Long> treatmentWeights)

      A set of key-value pairs. The keys are variation names, and the values are the portion of experiment traffic to be assigned to that variation. 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.

      Parameters:
      treatmentWeights - A set of key-value pairs. The keys are variation names, and the values are the portion of experiment traffic to be assigned to that variation. 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.