com.pulumi.gcp.artifactregistry.kotlin.inputs.RepositoryDockerConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.artifactregistry.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.artifactregistry.inputs.RepositoryDockerConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property immutableTags The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
*/
public data class RepositoryDockerConfigArgs(
public val immutableTags: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.artifactregistry.inputs.RepositoryDockerConfigArgs =
com.pulumi.gcp.artifactregistry.inputs.RepositoryDockerConfigArgs.builder()
.immutableTags(immutableTags?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RepositoryDockerConfigArgs].
*/
@PulumiTagMarker
public class RepositoryDockerConfigArgsBuilder internal constructor() {
private var immutableTags: Output? = null
/**
* @param value The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
*/
@JvmName("kxvajcjjwgapawfg")
public suspend fun immutableTags(`value`: Output) {
this.immutableTags = value
}
/**
* @param value The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.
*/
@JvmName("ecxhaamgqonwmhap")
public suspend fun immutableTags(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.immutableTags = mapped
}
internal fun build(): RepositoryDockerConfigArgs = RepositoryDockerConfigArgs(
immutableTags = immutableTags,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy