io.burkard.cdk.services.evidently.cfnExperiment.TreatmentToWeightProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.evidently.cfnExperiment
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object TreatmentToWeightProperty {
def apply(
splitWeight: Number,
treatment: String
): software.amazon.awscdk.services.evidently.CfnExperiment.TreatmentToWeightProperty =
(new software.amazon.awscdk.services.evidently.CfnExperiment.TreatmentToWeightProperty.Builder)
.splitWeight(splitWeight)
.treatment(treatment)
.build()
}