com.pulumi.gcp.osconfig.kotlin.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs.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.osconfig.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs.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 name Package name.
*/
public data class OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs(
public val name: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs =
com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs.builder()
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs].
*/
@PulumiTagMarker
public class OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgsBuilder internal constructor() {
private var name: Output? = null
/**
* @param value Package name.
*/
@JvmName("ariqxmytcsguvwjw")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Package name.
*/
@JvmName("gqfsylbcmyvcgxke")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs =
OsPolicyAssignmentOsPolicyResourceGroupResourcePkgGoogetArgs(
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy