io.burkard.cdk.services.databrew.cfnJob.OutputProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.databrew.cfnJob
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object OutputProperty {
def apply(
location: software.amazon.awscdk.services.databrew.CfnJob.S3LocationProperty,
maxOutputFiles: Option[Number] = None,
format: Option[String] = None,
formatOptions: Option[software.amazon.awscdk.services.databrew.CfnJob.OutputFormatOptionsProperty] = None,
partitionColumns: Option[List[String]] = None,
compressionFormat: Option[String] = None,
overwrite: Option[Boolean] = None
): software.amazon.awscdk.services.databrew.CfnJob.OutputProperty =
(new software.amazon.awscdk.services.databrew.CfnJob.OutputProperty.Builder)
.location(location)
.maxOutputFiles(maxOutputFiles.orNull)
.format(format.orNull)
.formatOptions(formatOptions.orNull)
.partitionColumns(partitionColumns.map(_.asJava).orNull)
.compressionFormat(compressionFormat.orNull)
.overwrite(overwrite.map(Boolean.box).orNull)
.build()
}