com.pulumi.gcp.osconfig.kotlin.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs.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.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs.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 OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs(
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.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs =
com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs.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 [OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs].
*/
@PulumiTagMarker
public class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgsBuilder 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("yvhnenxjaonhfmwo")
public suspend fun apt(`value`: Output) {
this.apt = value
}
/**
* @param value A Goo Repository. Structure is
* documented below.
*/
@JvmName("dvbmdpyqxyulfxrl")
public suspend fun goo(`value`: Output) {
this.goo = value
}
/**
* @param value A Yum Repository. Structure is
* documented below.
*/
@JvmName("oqeyxnslmcamonic")
public suspend fun yum(`value`: Output) {
this.yum = value
}
/**
* @param value A Zypper Repository. Structure is
* documented below.
*/
@JvmName("akygtbobxtdadxxr")
public suspend fun zypper(`value`: Output) {
this.zypper = value
}
/**
* @param value An Apt Repository. Structure is
* documented below.
*/
@JvmName("riyahpiikqiekrnk")
public suspend fun apt(`value`: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.apt = mapped
}
/**
* @param argument An Apt Repository. Structure is
* documented below.
*/
@JvmName("rgfrdxxyarrcjlqh")
public suspend fun apt(argument: suspend OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgsBuilder.() -> Unit) {
val toBeMapped =
OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.apt = mapped
}
/**
* @param value A Goo Repository. Structure is
* documented below.
*/
@JvmName("hvwcilrsjteibpau")
public suspend fun goo(`value`: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.goo = mapped
}
/**
* @param argument A Goo Repository. Structure is
* documented below.
*/
@JvmName("qaifyctotdkkaigc")
public suspend fun goo(argument: suspend OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgsBuilder.() -> Unit) {
val toBeMapped =
OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryGooArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.goo = mapped
}
/**
* @param value A Yum Repository. Structure is
* documented below.
*/
@JvmName("xkkwnijujhgvegrw")
public suspend fun yum(`value`: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.yum = mapped
}
/**
* @param argument A Yum Repository. Structure is
* documented below.
*/
@JvmName("smxpqwtlotraikab")
public suspend fun yum(argument: suspend OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgsBuilder.() -> Unit) {
val toBeMapped =
OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYumArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.yum = mapped
}
/**
* @param value A Zypper Repository. Structure is
* documented below.
*/
@JvmName("lvogxmjogcqpntjk")
public suspend fun zypper(`value`: OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryZypperArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.zypper = mapped
}
/**
* @param argument A Zypper Repository. Structure is
* documented below.
*/
@JvmName("lomsicbxxfiypgin")
public suspend fun zypper(argument: suspend OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryZypperArgsBuilder.() -> Unit) {
val toBeMapped =
OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryZypperArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.zypper = mapped
}
internal fun build(): OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs =
OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryArgs(
apt = apt,
goo = goo,
yum = yum,
zypper = zypper,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy