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

com.pulumi.azure.devcenter.kotlin.CatalogArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.devcenter.kotlin

import com.pulumi.azure.devcenter.CatalogArgs.builder
import com.pulumi.azure.devcenter.kotlin.inputs.CatalogCatalogAdogitArgs
import com.pulumi.azure.devcenter.kotlin.inputs.CatalogCatalogAdogitArgsBuilder
import com.pulumi.azure.devcenter.kotlin.inputs.CatalogCatalogGithubArgs
import com.pulumi.azure.devcenter.kotlin.inputs.CatalogCatalogGithubArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property catalogAdogit
 * @property catalogGithub
 * @property devCenterId
 * @property name
 * @property resourceGroupName
 */
public data class CatalogArgs(
    public val catalogAdogit: Output? = null,
    public val catalogGithub: Output? = null,
    public val devCenterId: Output? = null,
    public val name: Output? = null,
    public val resourceGroupName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.devcenter.CatalogArgs =
        com.pulumi.azure.devcenter.CatalogArgs.builder()
            .catalogAdogit(catalogAdogit?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .catalogGithub(catalogGithub?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .devCenterId(devCenterId?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CatalogArgs].
 */
@PulumiTagMarker
public class CatalogArgsBuilder internal constructor() {
    private var catalogAdogit: Output? = null

    private var catalogGithub: Output? = null

    private var devCenterId: Output? = null

    private var name: Output? = null

    private var resourceGroupName: Output? = null

    /**
     * @param value
     */
    @JvmName("sqsdqeifjxttgmki")
    public suspend fun catalogAdogit(`value`: Output) {
        this.catalogAdogit = value
    }

    /**
     * @param value
     */
    @JvmName("poktrnrxqeqrcbij")
    public suspend fun catalogGithub(`value`: Output) {
        this.catalogGithub = value
    }

    /**
     * @param value
     */
    @JvmName("slfaqwismdqtqhdu")
    public suspend fun devCenterId(`value`: Output) {
        this.devCenterId = value
    }

    /**
     * @param value
     */
    @JvmName("dkcugpqkjllwvowu")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("kllvgaliwslobwwx")
    public suspend fun resourceGroupName(`value`: Output) {
        this.resourceGroupName = value
    }

    /**
     * @param value
     */
    @JvmName("cdjcblxlkfyhthrd")
    public suspend fun catalogAdogit(`value`: CatalogCatalogAdogitArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.catalogAdogit = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ysbrqtgijfvpixvd")
    public suspend fun catalogAdogit(argument: suspend CatalogCatalogAdogitArgsBuilder.() -> Unit) {
        val toBeMapped = CatalogCatalogAdogitArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.catalogAdogit = mapped
    }

    /**
     * @param value
     */
    @JvmName("cejpcwvnwxmuecry")
    public suspend fun catalogGithub(`value`: CatalogCatalogGithubArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.catalogGithub = mapped
    }

    /**
     * @param argument
     */
    @JvmName("aampcaqqpfwfqeos")
    public suspend fun catalogGithub(argument: suspend CatalogCatalogGithubArgsBuilder.() -> Unit) {
        val toBeMapped = CatalogCatalogGithubArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.catalogGithub = mapped
    }

    /**
     * @param value
     */
    @JvmName("ohghpumgxnbfqvlw")
    public suspend fun devCenterId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.devCenterId = mapped
    }

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

    /**
     * @param value
     */
    @JvmName("hsikxoymxssksook")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceGroupName = mapped
    }

    internal fun build(): CatalogArgs = CatalogArgs(
        catalogAdogit = catalogAdogit,
        catalogGithub = catalogGithub,
        devCenterId = devCenterId,
        name = name,
        resourceGroupName = resourceGroupName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy