
com.pulumi.googlenative.compute.beta.kotlin.inputs.GetLicensePlainArgs.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.compute.beta.kotlin.inputs
import com.pulumi.googlenative.compute.beta.inputs.GetLicensePlainArgs.builder
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
/**
*
* @property license
* @property project
*/
public data class GetLicensePlainArgs(
public val license: String,
public val project: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.compute.beta.inputs.GetLicensePlainArgs =
com.pulumi.googlenative.compute.beta.inputs.GetLicensePlainArgs.builder()
.license(license.let({ args0 -> args0 }))
.project(project?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetLicensePlainArgs].
*/
@PulumiTagMarker
public class GetLicensePlainArgsBuilder internal constructor() {
private var license: String? = null
private var project: String? = null
/**
* @param value
*/
@JvmName("kksbmjsdvhsgtxay")
public suspend fun license(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.license = mapped
}
/**
* @param value
*/
@JvmName("ghmrvlepkjmgkqgk")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetLicensePlainArgs = GetLicensePlainArgs(
license = license ?: throw PulumiNullFieldException("license"),
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy