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