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

io.burkard.cdk.services.ecr.assets.DockerImageAssetOptions.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.ecr.assets

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DockerImageAssetOptions {

  def apply(
    buildArgs: Option[Map[String, String]] = None,
    invalidation: Option[software.amazon.awscdk.services.ecr.assets.DockerImageAssetInvalidationOptions] = None,
    extraHash: Option[String] = None,
    followSymlinks: Option[software.amazon.awscdk.SymlinkFollowMode] = None,
    file: Option[String] = None,
    networkMode: Option[software.amazon.awscdk.services.ecr.assets.NetworkMode] = None,
    target: Option[String] = None,
    exclude: Option[List[String]] = None,
    platform: Option[software.amazon.awscdk.services.ecr.assets.Platform] = None,
    ignoreMode: Option[software.amazon.awscdk.IgnoreMode] = None
  ): software.amazon.awscdk.services.ecr.assets.DockerImageAssetOptions =
    (new software.amazon.awscdk.services.ecr.assets.DockerImageAssetOptions.Builder)
      .buildArgs(buildArgs.map(_.asJava).orNull)
      .invalidation(invalidation.orNull)
      .extraHash(extraHash.orNull)
      .followSymlinks(followSymlinks.orNull)
      .file(file.orNull)
      .networkMode(networkMode.orNull)
      .target(target.orNull)
      .exclude(exclude.map(_.asJava).orNull)
      .platform(platform.orNull)
      .ignoreMode(ignoreMode.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy