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

io.burkard.cdk.services.glue.CfnCrawlerProps.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 CfnCrawlerProps {

  def apply(
    targets: software.amazon.awscdk.services.glue.CfnCrawler.TargetsProperty,
    role: String,
    name: Option[String] = None,
    crawlerSecurityConfiguration: Option[String] = None,
    tablePrefix: Option[String] = None,
    description: Option[String] = None,
    tags: Option[AnyRef] = None,
    schemaChangePolicy: Option[software.amazon.awscdk.services.glue.CfnCrawler.SchemaChangePolicyProperty] = None,
    recrawlPolicy: Option[software.amazon.awscdk.services.glue.CfnCrawler.RecrawlPolicyProperty] = None,
    schedule: Option[software.amazon.awscdk.services.glue.CfnCrawler.ScheduleProperty] = None,
    configuration: Option[String] = None,
    classifiers: Option[List[String]] = None,
    databaseName: Option[String] = None
  ): software.amazon.awscdk.services.glue.CfnCrawlerProps =
    (new software.amazon.awscdk.services.glue.CfnCrawlerProps.Builder)
      .targets(targets)
      .role(role)
      .name(name.orNull)
      .crawlerSecurityConfiguration(crawlerSecurityConfiguration.orNull)
      .tablePrefix(tablePrefix.orNull)
      .description(description.orNull)
      .tags(tags.orNull)
      .schemaChangePolicy(schemaChangePolicy.orNull)
      .recrawlPolicy(recrawlPolicy.orNull)
      .schedule(schedule.orNull)
      .configuration(configuration.orNull)
      .classifiers(classifiers.map(_.asJava).orNull)
      .databaseName(databaseName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy