![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.machinelearningservices.kotlin.inputs.BuildContextArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.machinelearningservices.kotlin.inputs
import com.pulumi.azurenative.machinelearningservices.inputs.BuildContextArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Configuration settings for Docker build context
* @property contextUri [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
*
* @property dockerfilePath Path to the Dockerfile in the build context.
*
*/
public data class BuildContextArgs(
public val contextUri: Output,
public val dockerfilePath: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.BuildContextArgs =
com.pulumi.azurenative.machinelearningservices.inputs.BuildContextArgs.builder()
.contextUri(contextUri.applyValue({ args0 -> args0 }))
.dockerfilePath(dockerfilePath?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BuildContextArgs].
*/
@PulumiTagMarker
public class BuildContextArgsBuilder internal constructor() {
private var contextUri: Output? = null
private var dockerfilePath: Output? = null
/**
* @param value [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
*
*/
@JvmName("nlbqghtabtncigje")
public suspend fun contextUri(`value`: Output) {
this.contextUri = value
}
/**
* @param value Path to the Dockerfile in the build context.
*
*/
@JvmName("jvvqbtercfanenrt")
public suspend fun dockerfilePath(`value`: Output) {
this.dockerfilePath = value
}
/**
* @param value [Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.
*
*/
@JvmName("wuqvssxwsscmvlvi")
public suspend fun contextUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.contextUri = mapped
}
/**
* @param value Path to the Dockerfile in the build context.
*
*/
@JvmName("thfadrfyxophtoye")
public suspend fun dockerfilePath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dockerfilePath = mapped
}
internal fun build(): BuildContextArgs = BuildContextArgs(
contextUri = contextUri ?: throw PulumiNullFieldException("contextUri"),
dockerfilePath = dockerfilePath,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy