io.burkard.cdk.services.glue.PartitionInputProperty.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 PartitionInputProperty {
def apply(
values: Option[List[String]] = None,
parameters: Option[AnyRef] = None,
storageDescriptor: Option[software.amazon.awscdk.services.glue.CfnPartition.StorageDescriptorProperty] = None
): software.amazon.awscdk.services.glue.CfnPartition.PartitionInputProperty =
(new software.amazon.awscdk.services.glue.CfnPartition.PartitionInputProperty.Builder)
.values(values.map(_.asJava).orNull)
.parameters(parameters.orNull)
.storageDescriptor(storageDescriptor.orNull)
.build()
}