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

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

  def apply(
    actions: List[_],
    `type`: String,
    workflowName: Option[String] = None,
    name: Option[String] = None,
    predicate: Option[software.amazon.awscdk.services.glue.CfnTrigger.PredicateProperty] = None,
    description: Option[String] = None,
    tags: Option[AnyRef] = None,
    schedule: Option[String] = None,
    startOnCreation: Option[Boolean] = None
  ): software.amazon.awscdk.services.glue.CfnTriggerProps =
    (new software.amazon.awscdk.services.glue.CfnTriggerProps.Builder)
      .actions(actions.asJava)
      .`type`(`type`)
      .workflowName(workflowName.orNull)
      .name(name.orNull)
      .predicate(predicate.orNull)
      .description(description.orNull)
      .tags(tags.orNull)
      .schedule(schedule.orNull)
      .startOnCreation(startOnCreation.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy