io.burkard.cdk.services.databrew.cfnDataset.FormatOptionsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.databrew.cfnDataset
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object FormatOptionsProperty {
def apply(
csv: Option[software.amazon.awscdk.services.databrew.CfnDataset.CsvOptionsProperty] = None,
excel: Option[software.amazon.awscdk.services.databrew.CfnDataset.ExcelOptionsProperty] = None,
json: Option[software.amazon.awscdk.services.databrew.CfnDataset.JsonOptionsProperty] = None
): software.amazon.awscdk.services.databrew.CfnDataset.FormatOptionsProperty =
(new software.amazon.awscdk.services.databrew.CfnDataset.FormatOptionsProperty.Builder)
.csv(csv.orNull)
.excel(excel.orNull)
.json(json.orNull)
.build()
}