io.burkard.cdk.services.macie.CfnCustomDataIdentifierProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.macie
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnCustomDataIdentifierProps {
def apply(
regex: String,
name: String,
description: Option[String] = None,
maximumMatchDistance: Option[Number] = None,
keywords: Option[List[String]] = None,
ignoreWords: Option[List[String]] = None
): software.amazon.awscdk.services.macie.CfnCustomDataIdentifierProps =
(new software.amazon.awscdk.services.macie.CfnCustomDataIdentifierProps.Builder)
.regex(regex)
.name(name)
.description(description.orNull)
.maximumMatchDistance(maximumMatchDistance.orNull)
.keywords(keywords.map(_.asJava).orNull)
.ignoreWords(ignoreWords.map(_.asJava).orNull)
.build()
}