
com.pulumi.googlenative.cloudbuild.v1.kotlin.enums.BuildOptionsSubstitutionOption.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.cloudbuild.v1.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
*/
public enum class BuildOptionsSubstitutionOption(
public val javaValue: com.pulumi.googlenative.cloudbuild.v1.enums.BuildOptionsSubstitutionOption,
) : ConvertibleToJava {
/**
* Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.
*/
MustMatch(com.pulumi.googlenative.cloudbuild.v1.enums.BuildOptionsSubstitutionOption.MustMatch),
/**
* Do not fail the build if error in substitutions checks.
*/
AllowLoose(com.pulumi.googlenative.cloudbuild.v1.enums.BuildOptionsSubstitutionOption.AllowLoose),
;
override fun toJava(): com.pulumi.googlenative.cloudbuild.v1.enums.BuildOptionsSubstitutionOption = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.cloudbuild.v1.enums.BuildOptionsSubstitutionOption): BuildOptionsSubstitutionOption =
BuildOptionsSubstitutionOption.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy