io.burkard.cdk.services.eventschemas.CfnDiscovererProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.eventschemas
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnDiscovererProps {
def apply(
sourceArn: String,
tags: Option[List[_ <: software.amazon.awscdk.services.eventschemas.CfnDiscoverer.TagsEntryProperty]] = None,
description: Option[String] = None,
crossAccount: Option[Boolean] = None
): software.amazon.awscdk.services.eventschemas.CfnDiscovererProps =
(new software.amazon.awscdk.services.eventschemas.CfnDiscovererProps.Builder)
.sourceArn(sourceArn)
.tags(tags.map(_.asJava).orNull)
.description(description.orNull)
.crossAccount(crossAccount.map(Boolean.box).orNull)
.build()
}