All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.glue.CfnSchemaProps.scala Maven / Gradle / Ivy

The newest version!
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 CfnSchemaProps {

  def apply(
    name: String,
    schemaDefinition: String,
    compatibility: String,
    dataFormat: String,
    registry: Option[software.amazon.awscdk.services.glue.CfnSchema.RegistryProperty] = None,
    description: Option[String] = None,
    checkpointVersion: Option[software.amazon.awscdk.services.glue.CfnSchema.SchemaVersionProperty] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None
  ): software.amazon.awscdk.services.glue.CfnSchemaProps =
    (new software.amazon.awscdk.services.glue.CfnSchemaProps.Builder)
      .name(name)
      .schemaDefinition(schemaDefinition)
      .compatibility(compatibility)
      .dataFormat(dataFormat)
      .registry(registry.orNull)
      .description(description.orNull)
      .checkpointVersion(checkpointVersion.orNull)
      .tags(tags.map(_.asJava).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy