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