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

io.burkard.cdk.services.codebuild.ArtifactsProperty.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 ArtifactsProperty {

  def apply(
    `type`: String,
    name: Option[String] = None,
    location: Option[String] = None,
    path: Option[String] = None,
    namespaceType: Option[String] = None,
    packaging: Option[String] = None,
    overrideArtifactName: Option[Boolean] = None,
    artifactIdentifier: Option[String] = None,
    encryptionDisabled: Option[Boolean] = None
  ): software.amazon.awscdk.services.codebuild.CfnProject.ArtifactsProperty =
    (new software.amazon.awscdk.services.codebuild.CfnProject.ArtifactsProperty.Builder)
      .`type`(`type`)
      .name(name.orNull)
      .location(location.orNull)
      .path(path.orNull)
      .namespaceType(namespaceType.orNull)
      .packaging(packaging.orNull)
      .overrideArtifactName(overrideArtifactName.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .artifactIdentifier(artifactIdentifier.orNull)
      .encryptionDisabled(encryptionDisabled.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy