io.burkard.cdk.services.timestream.MultiMeasureMappingsProperty.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.timestream
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object MultiMeasureMappingsProperty {
def apply(
multiMeasureAttributeMappings: List[_],
targetMultiMeasureName: Option[String] = None
): software.amazon.awscdk.services.timestream.CfnScheduledQuery.MultiMeasureMappingsProperty =
(new software.amazon.awscdk.services.timestream.CfnScheduledQuery.MultiMeasureMappingsProperty.Builder)
.multiMeasureAttributeMappings(multiMeasureAttributeMappings.asJava)
.targetMultiMeasureName(targetMultiMeasureName.orNull)
.build()
}