@Stability(value=Stable)
public static interface CfnExperiment.TreatmentToWeightProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.evidently.*;
TreatmentToWeightProperty treatmentToWeightProperty = TreatmentToWeightProperty.builder()
.splitWeight(123)
.treatment("treatment")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnExperiment.TreatmentToWeightProperty.Builder
A builder for
CfnExperiment.TreatmentToWeightProperty |
static class |
CfnExperiment.TreatmentToWeightProperty.Jsii$Proxy
An implementation for
CfnExperiment.TreatmentToWeightProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnExperiment.TreatmentToWeightProperty.Builder |
builder() |
Number |
getSplitWeight()
The portion of experiment traffic to allocate to this treatment.
|
String |
getTreatment()
The name of the treatment.
|
@Stability(value=Stable) @NotNull Number getSplitWeight()
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.
@Stability(value=Stable) @NotNull String getTreatment()
@Stability(value=Stable) static CfnExperiment.TreatmentToWeightProperty.Builder builder()
Copyright © 2022. All rights reserved.