All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.osconfig.kotlin.inputs.GuestPoliciesPackageRepositoryGooArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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.GuestPoliciesPackageRepositoryGooArgs.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 The name of the repository.
 * @property url The url of the repository.
 */
public data class GuestPoliciesPackageRepositoryGooArgs(
    public val name: Output,
    public val url: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryGooArgs =
        com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryGooArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .url(url.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GuestPoliciesPackageRepositoryGooArgs].
 */
@PulumiTagMarker
public class GuestPoliciesPackageRepositoryGooArgsBuilder internal constructor() {
    private var name: Output? = null

    private var url: Output? = null

    /**
     * @param value The name of the repository.
     */
    @JvmName("bdssknxhrximpnxi")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The url of the repository.
     */
    @JvmName("mmgonoaytkmtujei")
    public suspend fun url(`value`: Output) {
        this.url = value
    }

    /**
     * @param value The name of the repository.
     */
    @JvmName("kdodexoneasxeshn")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The url of the repository.
     */
    @JvmName("kilqkrrbtircmbba")
    public suspend fun url(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.url = mapped
    }

    internal fun build(): GuestPoliciesPackageRepositoryGooArgs =
        GuestPoliciesPackageRepositoryGooArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            url = url ?: throw PulumiNullFieldException("url"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy