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

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

package com.pulumi.azurenative.media.kotlin.inputs

import com.pulumi.azurenative.media.inputs.LiveEventInputAccessControlArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * The IP access control for live event input.
 * @property ip The IP access control properties.
 */
public data class LiveEventInputAccessControlArgs(
    public val ip: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.media.inputs.LiveEventInputAccessControlArgs =
        com.pulumi.azurenative.media.inputs.LiveEventInputAccessControlArgs.builder()
            .ip(ip?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [LiveEventInputAccessControlArgs].
 */
@PulumiTagMarker
public class LiveEventInputAccessControlArgsBuilder internal constructor() {
    private var ip: Output? = null

    /**
     * @param value The IP access control properties.
     */
    @JvmName("otlvjpgeppnhgvtj")
    public suspend fun ip(`value`: Output) {
        this.ip = value
    }

    /**
     * @param value The IP access control properties.
     */
    @JvmName("sdtekmrkqrttckya")
    public suspend fun ip(`value`: IPAccessControlArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ip = mapped
    }

    /**
     * @param argument The IP access control properties.
     */
    @JvmName("jcxxsiqvhfwrqgno")
    public suspend fun ip(argument: suspend IPAccessControlArgsBuilder.() -> Unit) {
        val toBeMapped = IPAccessControlArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.ip = mapped
    }

    internal fun build(): LiveEventInputAccessControlArgs = LiveEventInputAccessControlArgs(
        ip = ip,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy