io.burkard.cdk.services.codebuild.cfnProject.ProjectTriggersProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codebuild.cfnProject
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ProjectTriggersProperty {
def apply(
webhook: Option[Boolean] = None,
buildType: Option[String] = None,
filterGroups: Option[List[_]] = None
): software.amazon.awscdk.services.codebuild.CfnProject.ProjectTriggersProperty =
(new software.amazon.awscdk.services.codebuild.CfnProject.ProjectTriggersProperty.Builder)
.webhook(webhook.map(Boolean.box).orNull)
.buildType(buildType.orNull)
.filterGroups(filterGroups.map(_.asJava).orNull)
.build()
}