io.burkard.cdk.services.glue.DatabaseInputProperty.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 DatabaseInputProperty {
def apply(
name: Option[String] = None,
createTableDefaultPermissions: Option[List[_]] = None,
description: Option[String] = None,
targetDatabase: Option[software.amazon.awscdk.services.glue.CfnDatabase.DatabaseIdentifierProperty] = None,
locationUri: Option[String] = None,
parameters: Option[AnyRef] = None
): software.amazon.awscdk.services.glue.CfnDatabase.DatabaseInputProperty =
(new software.amazon.awscdk.services.glue.CfnDatabase.DatabaseInputProperty.Builder)
.name(name.orNull)
.createTableDefaultPermissions(createTableDefaultPermissions.map(_.asJava).orNull)
.description(description.orNull)
.targetDatabase(targetDatabase.orNull)
.locationUri(locationUri.orNull)
.parameters(parameters.orNull)
.build()
}