io.burkard.cdk.services.cloudwatch.cfnAnomalyDetector.ConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cloudwatch.cfnAnomalyDetector
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ConfigurationProperty {
def apply(
excludedTimeRanges: Option[List[_]] = None,
metricTimeZone: Option[String] = None
): software.amazon.awscdk.services.cloudwatch.CfnAnomalyDetector.ConfigurationProperty =
(new software.amazon.awscdk.services.cloudwatch.CfnAnomalyDetector.ConfigurationProperty.Builder)
.excludedTimeRanges(excludedTimeRanges.map(_.asJava).orNull)
.metricTimeZone(metricTimeZone.orNull)
.build()
}