com.pulumi.gcp.osconfig.kotlin.inputs.GuestPoliciesPackageRepositoryArgs.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.GuestPoliciesPackageRepositoryArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property apt An Apt Repository.
* Structure is documented below.
* @property goo A Goo Repository.
* Structure is documented below.
* @property yum A Yum Repository.
* Structure is documented below.
* @property zypper A Zypper Repository.
* Structure is documented below.
*/
public data class GuestPoliciesPackageRepositoryArgs(
public val apt: Output? = null,
public val goo: Output? = null,
public val yum: Output? = null,
public val zypper: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryArgs =
com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryArgs.builder()
.apt(apt?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.goo(goo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.yum(yum?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.zypper(zypper?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GuestPoliciesPackageRepositoryArgs].
*/
@PulumiTagMarker
public class GuestPoliciesPackageRepositoryArgsBuilder internal constructor() {
private var apt: Output? = null
private var goo: Output? = null
private var yum: Output? = null
private var zypper: Output? = null
/**
* @param value An Apt Repository.
* Structure is documented below.
*/
@JvmName("ulgicognjgdjlase")
public suspend fun apt(`value`: Output) {
this.apt = value
}
/**
* @param value A Goo Repository.
* Structure is documented below.
*/
@JvmName("fycfcfgfpvddyrpx")
public suspend fun goo(`value`: Output) {
this.goo = value
}
/**
* @param value A Yum Repository.
* Structure is documented below.
*/
@JvmName("yaraaaywrrqhdwqr")
public suspend fun yum(`value`: Output) {
this.yum = value
}
/**
* @param value A Zypper Repository.
* Structure is documented below.
*/
@JvmName("rdrebkrpstusltax")
public suspend fun zypper(`value`: Output) {
this.zypper = value
}
/**
* @param value An Apt Repository.
* Structure is documented below.
*/
@JvmName("kxwtalkylpfrfcnv")
public suspend fun apt(`value`: GuestPoliciesPackageRepositoryAptArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.apt = mapped
}
/**
* @param argument An Apt Repository.
* Structure is documented below.
*/
@JvmName("ayieyltsbxaechrj")
public suspend fun apt(argument: suspend GuestPoliciesPackageRepositoryAptArgsBuilder.() -> Unit) {
val toBeMapped = GuestPoliciesPackageRepositoryAptArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.apt = mapped
}
/**
* @param value A Goo Repository.
* Structure is documented below.
*/
@JvmName("ctckxxxwhnvoxluv")
public suspend fun goo(`value`: GuestPoliciesPackageRepositoryGooArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.goo = mapped
}
/**
* @param argument A Goo Repository.
* Structure is documented below.
*/
@JvmName("frbeockaggxnkacx")
public suspend fun goo(argument: suspend GuestPoliciesPackageRepositoryGooArgsBuilder.() -> Unit) {
val toBeMapped = GuestPoliciesPackageRepositoryGooArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.goo = mapped
}
/**
* @param value A Yum Repository.
* Structure is documented below.
*/
@JvmName("bmyxnpsnkfhvjtyd")
public suspend fun yum(`value`: GuestPoliciesPackageRepositoryYumArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.yum = mapped
}
/**
* @param argument A Yum Repository.
* Structure is documented below.
*/
@JvmName("vbkaxfnbmjmaqgwh")
public suspend fun yum(argument: suspend GuestPoliciesPackageRepositoryYumArgsBuilder.() -> Unit) {
val toBeMapped = GuestPoliciesPackageRepositoryYumArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.yum = mapped
}
/**
* @param value A Zypper Repository.
* Structure is documented below.
*/
@JvmName("sjoyuipbudflglbs")
public suspend fun zypper(`value`: GuestPoliciesPackageRepositoryZypperArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.zypper = mapped
}
/**
* @param argument A Zypper Repository.
* Structure is documented below.
*/
@JvmName("ayfkwafdmvlkucxu")
public suspend fun zypper(argument: suspend GuestPoliciesPackageRepositoryZypperArgsBuilder.() -> Unit) {
val toBeMapped = GuestPoliciesPackageRepositoryZypperArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.zypper = mapped
}
internal fun build(): GuestPoliciesPackageRepositoryArgs = GuestPoliciesPackageRepositoryArgs(
apt = apt,
goo = goo,
yum = yum,
zypper = zypper,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy