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

io.burkard.cdk.services.codebuild.SourceConfig.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package io.burkard.cdk.services.codebuild

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SourceConfig {

  def apply(
    sourceProperty: software.amazon.awscdk.services.codebuild.CfnProject.SourceProperty,
    buildTriggers: Option[software.amazon.awscdk.services.codebuild.CfnProject.ProjectTriggersProperty] = None,
    sourceVersion: Option[String] = None
  ): software.amazon.awscdk.services.codebuild.SourceConfig =
    (new software.amazon.awscdk.services.codebuild.SourceConfig.Builder)
      .sourceProperty(sourceProperty)
      .buildTriggers(buildTriggers.orNull)
      .sourceVersion(sourceVersion.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy