Interface OnlineAbDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OnlineAbDefinition.Builder,OnlineAbDefinition>,SdkBuilder<OnlineAbDefinition.Builder,OnlineAbDefinition>,SdkPojo
- Enclosing class:
- OnlineAbDefinition
public static interface OnlineAbDefinition.Builder extends SdkPojo, CopyableBuilder<OnlineAbDefinition.Builder,OnlineAbDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnlineAbDefinition.BuildercontrolTreatmentName(String controlTreatmentName)The name of the variation that is the default variation that the other variations are compared to.OnlineAbDefinition.BuildertreatmentWeights(Map<String,Long> treatmentWeights)A set of key-value pairs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
controlTreatmentName
OnlineAbDefinition.Builder controlTreatmentName(String controlTreatmentName)
The name of the variation that is the default variation that the other variations are compared to.
- Parameters:
controlTreatmentName- The name of the variation that is 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
OnlineAbDefinition.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. The traffic portion is specified 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. The traffic portion is specified 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.
-
-