io.burkard.cdk.services.glue.CfnSchema.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.glue
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnSchema {
def apply(
internalResourceId: String,
registry: Option[software.amazon.awscdk.services.glue.CfnSchema.RegistryProperty] = None,
name: Option[String] = None,
schemaDefinition: Option[String] = None,
compatibility: Option[String] = None,
dataFormat: Option[String] = None,
description: Option[String] = None,
checkpointVersion: Option[software.amazon.awscdk.services.glue.CfnSchema.SchemaVersionProperty] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.glue.CfnSchema =
software.amazon.awscdk.services.glue.CfnSchema.Builder
.create(stackCtx, internalResourceId)
.registry(registry.orNull)
.name(name.orNull)
.schemaDefinition(schemaDefinition.orNull)
.compatibility(compatibility.orNull)
.dataFormat(dataFormat.orNull)
.description(description.orNull)
.checkpointVersion(checkpointVersion.orNull)
.tags(tags.map(_.asJava).orNull)
.build()
}