io.burkard.cdk.services.glue.GrokClassifierProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.glue
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object GrokClassifierProperty {
def apply(
classification: String,
grokPattern: String,
name: Option[String] = None,
customPatterns: Option[String] = None
): software.amazon.awscdk.services.glue.CfnClassifier.GrokClassifierProperty =
(new software.amazon.awscdk.services.glue.CfnClassifier.GrokClassifierProperty.Builder)
.classification(classification)
.grokPattern(grokPattern)
.name(name.orNull)
.customPatterns(customPatterns.orNull)
.build()
}