@Stability(value=Stable) public static final class CfnExperiment.OnlineAbConfigObjectProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnExperiment.OnlineAbConfigObjectProperty>
CfnExperiment.OnlineAbConfigObjectProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnExperiment.OnlineAbConfigObjectProperty |
build()
Builds the configured instance.
|
CfnExperiment.OnlineAbConfigObjectProperty.Builder |
controlTreatmentName(String controlTreatmentName)
Sets the value of
CfnExperiment.OnlineAbConfigObjectProperty.getControlTreatmentName() |
CfnExperiment.OnlineAbConfigObjectProperty.Builder |
treatmentWeights(IResolvable treatmentWeights)
Sets the value of
CfnExperiment.OnlineAbConfigObjectProperty.getTreatmentWeights() |
CfnExperiment.OnlineAbConfigObjectProperty.Builder |
treatmentWeights(List<? extends Object> treatmentWeights)
Sets the value of
CfnExperiment.OnlineAbConfigObjectProperty.getTreatmentWeights() |
@Stability(value=Stable) public CfnExperiment.OnlineAbConfigObjectProperty.Builder controlTreatmentName(String controlTreatmentName)
CfnExperiment.OnlineAbConfigObjectProperty.getControlTreatmentName()controlTreatmentName - The name of the variation that is to be the default variation that the other variations are compared to.this@Stability(value=Stable) public CfnExperiment.OnlineAbConfigObjectProperty.Builder treatmentWeights(IResolvable treatmentWeights)
CfnExperiment.OnlineAbConfigObjectProperty.getTreatmentWeights()treatmentWeights - 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.this@Stability(value=Stable) public CfnExperiment.OnlineAbConfigObjectProperty.Builder treatmentWeights(List<? extends Object> treatmentWeights)
CfnExperiment.OnlineAbConfigObjectProperty.getTreatmentWeights()treatmentWeights - 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.this@Stability(value=Stable) public CfnExperiment.OnlineAbConfigObjectProperty build()
build in interface software.amazon.jsii.Builder<CfnExperiment.OnlineAbConfigObjectProperty>CfnExperiment.OnlineAbConfigObjectPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.