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

com.pulumi.gcp.firebase.kotlin.inputs.GetHostingChannelPlainArgs.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.firebase.kotlin.inputs

import com.pulumi.gcp.firebase.inputs.GetHostingChannelPlainArgs.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

/**
 * A collection of arguments for invoking getHostingChannel.
 * @property channelId The ID of the channel. Use `channel_id = "live"` for the default channel of a site.
 * @property siteId The ID of the site this channel belongs to.
 */
public data class GetHostingChannelPlainArgs(
    public val channelId: String,
    public val siteId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.firebase.inputs.GetHostingChannelPlainArgs =
        com.pulumi.gcp.firebase.inputs.GetHostingChannelPlainArgs.builder()
            .channelId(channelId.let({ args0 -> args0 }))
            .siteId(siteId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetHostingChannelPlainArgs].
 */
@PulumiTagMarker
public class GetHostingChannelPlainArgsBuilder internal constructor() {
    private var channelId: String? = null

    private var siteId: String? = null

    /**
     * @param value The ID of the channel. Use `channel_id = "live"` for the default channel of a site.
     */
    @JvmName("swaqroiseinhvbot")
    public suspend fun channelId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.channelId = mapped
    }

    /**
     * @param value The ID of the site this channel belongs to.
     */
    @JvmName("xakbyswbkmscpntx")
    public suspend fun siteId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.siteId = mapped
    }

    internal fun build(): GetHostingChannelPlainArgs = GetHostingChannelPlainArgs(
        channelId = channelId ?: throw PulumiNullFieldException("channelId"),
        siteId = siteId ?: throw PulumiNullFieldException("siteId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy