io.burkard.cdk.services.evidently.cfnExperiment.TreatmentObjectProperty.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 TreatmentObjectProperty {
def apply(
feature: String,
treatmentName: String,
variation: String,
description: Option[String] = None
): software.amazon.awscdk.services.evidently.CfnExperiment.TreatmentObjectProperty =
(new software.amazon.awscdk.services.evidently.CfnExperiment.TreatmentObjectProperty.Builder)
.feature(feature)
.treatmentName(treatmentName)
.variation(variation)
.description(description.orNull)
.build()
}