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

com.pulumi.azure.media.kotlin.inputs.LiveEventInputEndpointArgs.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.media.kotlin.inputs

import com.pulumi.azure.media.inputs.LiveEventInputEndpointArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property protocol
 * @property url
 */
public data class LiveEventInputEndpointArgs(
    public val protocol: Output? = null,
    public val url: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.media.inputs.LiveEventInputEndpointArgs =
        com.pulumi.azure.media.inputs.LiveEventInputEndpointArgs.builder()
            .protocol(protocol?.applyValue({ args0 -> args0 }))
            .url(url?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LiveEventInputEndpointArgs].
 */
@PulumiTagMarker
public class LiveEventInputEndpointArgsBuilder internal constructor() {
    private var protocol: Output? = null

    private var url: Output? = null

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

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

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

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

    internal fun build(): LiveEventInputEndpointArgs = LiveEventInputEndpointArgs(
        protocol = protocol,
        url = url,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy