
com.pulumi.azurenative.web.kotlin.inputs.GitHubActionContainerConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.GitHubActionContainerConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The GitHub action container configuration.
* @property imageName The image name for the build.
* @property password The password used to upload the image to the container registry.
* @property serverUrl The server URL for the container registry where the build will be hosted.
* @property username The username used to upload the image to the container registry.
*/
public data class GitHubActionContainerConfigurationArgs(
public val imageName: Output? = null,
public val password: Output? = null,
public val serverUrl: Output? = null,
public val username: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.GitHubActionContainerConfigurationArgs =
com.pulumi.azurenative.web.inputs.GitHubActionContainerConfigurationArgs.builder()
.imageName(imageName?.applyValue({ args0 -> args0 }))
.password(password?.applyValue({ args0 -> args0 }))
.serverUrl(serverUrl?.applyValue({ args0 -> args0 }))
.username(username?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GitHubActionContainerConfigurationArgs].
*/
@PulumiTagMarker
public class GitHubActionContainerConfigurationArgsBuilder internal constructor() {
private var imageName: Output? = null
private var password: Output? = null
private var serverUrl: Output? = null
private var username: Output? = null
/**
* @param value The image name for the build.
*/
@JvmName("lroemmpxhpvbbnvg")
public suspend fun imageName(`value`: Output) {
this.imageName = value
}
/**
* @param value The password used to upload the image to the container registry.
*/
@JvmName("ffxjgdcnapkvtrmc")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value The server URL for the container registry where the build will be hosted.
*/
@JvmName("udeicrlrwenqtbrx")
public suspend fun serverUrl(`value`: Output) {
this.serverUrl = value
}
/**
* @param value The username used to upload the image to the container registry.
*/
@JvmName("ljdufgnihycybskt")
public suspend fun username(`value`: Output) {
this.username = value
}
/**
* @param value The image name for the build.
*/
@JvmName("pponsfpmlbegccrh")
public suspend fun imageName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.imageName = mapped
}
/**
* @param value The password used to upload the image to the container registry.
*/
@JvmName("xjufojicorvtnxsk")
public suspend fun password(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value The server URL for the container registry where the build will be hosted.
*/
@JvmName("yejvllvgygdspkyo")
public suspend fun serverUrl(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serverUrl = mapped
}
/**
* @param value The username used to upload the image to the container registry.
*/
@JvmName("fouaxodqvjmvxsiu")
public suspend fun username(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.username = mapped
}
internal fun build(): GitHubActionContainerConfigurationArgs =
GitHubActionContainerConfigurationArgs(
imageName = imageName,
password = password,
serverUrl = serverUrl,
username = username,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy