@Stability(value=Stable) public static final class CfnExperiment.TreatmentToWeightProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnExperiment.TreatmentToWeightProperty>
CfnExperiment.TreatmentToWeightProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnExperiment.TreatmentToWeightProperty |
build()
Builds the configured instance.
|
CfnExperiment.TreatmentToWeightProperty.Builder |
splitWeight(Number splitWeight)
Sets the value of
CfnExperiment.TreatmentToWeightProperty.getSplitWeight() |
CfnExperiment.TreatmentToWeightProperty.Builder |
treatment(String treatment)
Sets the value of
CfnExperiment.TreatmentToWeightProperty.getTreatment() |
@Stability(value=Stable) public CfnExperiment.TreatmentToWeightProperty.Builder splitWeight(Number splitWeight)
CfnExperiment.TreatmentToWeightProperty.getSplitWeight()splitWeight - The portion of experiment traffic to allocate to this treatment. This parameter is required.
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.this@Stability(value=Stable) public CfnExperiment.TreatmentToWeightProperty.Builder treatment(String treatment)
CfnExperiment.TreatmentToWeightProperty.getTreatment()treatment - The name of the treatment. This parameter is required.this@Stability(value=Stable) public CfnExperiment.TreatmentToWeightProperty build()
build in interface software.amazon.jsii.Builder<CfnExperiment.TreatmentToWeightProperty>CfnExperiment.TreatmentToWeightPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.