io.burkard.cdk.services.evidently.cfnExperiment.MetricGoalObjectProperty.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 MetricGoalObjectProperty {
def apply(
valueKey: String,
entityIdKey: String,
metricName: String,
eventPattern: String,
desiredChange: String,
unitLabel: Option[String] = None
): software.amazon.awscdk.services.evidently.CfnExperiment.MetricGoalObjectProperty =
(new software.amazon.awscdk.services.evidently.CfnExperiment.MetricGoalObjectProperty.Builder)
.valueKey(valueKey)
.entityIdKey(entityIdKey)
.metricName(metricName)
.eventPattern(eventPattern)
.desiredChange(desiredChange)
.unitLabel(unitLabel.orNull)
.build()
}