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

com.pulumi.azurenative.videoanalyzer.kotlin.inputs.GroupLevelAccessControlArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.videoanalyzer.kotlin.inputs

import com.pulumi.azurenative.videoanalyzer.inputs.GroupLevelAccessControlArgs.builder
import com.pulumi.azurenative.videoanalyzer.kotlin.enums.PublicNetworkAccess
import com.pulumi.core.Either
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

/**
 * Group level network access control.
 * @property publicNetworkAccess Whether or not public network access is allowed for specified resources under the Video Analyzer account.
 */
public data class GroupLevelAccessControlArgs(
    public val publicNetworkAccess: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.videoanalyzer.inputs.GroupLevelAccessControlArgs =
        com.pulumi.azurenative.videoanalyzer.inputs.GroupLevelAccessControlArgs.builder()
            .publicNetworkAccess(
                publicNetworkAccess?.applyValue({ args0 ->
                    args0.transform(
                        { args0 -> args0 },
                        { args0 -> args0.let({ args0 -> args0.toJava() }) },
                    )
                }),
            ).build()
}

/**
 * Builder for [GroupLevelAccessControlArgs].
 */
@PulumiTagMarker
public class GroupLevelAccessControlArgsBuilder internal constructor() {
    private var publicNetworkAccess: Output>? = null

    /**
     * @param value Whether or not public network access is allowed for specified resources under the Video Analyzer account.
     */
    @JvmName("uhklbkbjgmpyhiok")
    public suspend fun publicNetworkAccess(`value`: Output>) {
        this.publicNetworkAccess = value
    }

    /**
     * @param value Whether or not public network access is allowed for specified resources under the Video Analyzer account.
     */
    @JvmName("jdblfxnifjgdqfkb")
    public suspend fun publicNetworkAccess(`value`: Either?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.publicNetworkAccess = mapped
    }

    /**
     * @param value Whether or not public network access is allowed for specified resources under the Video Analyzer account.
     */
    @JvmName("rjqfirtrvdnuiyhd")
    public fun publicNetworkAccess(`value`: String) {
        val toBeMapped = Either.ofLeft(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicNetworkAccess = mapped
    }

    /**
     * @param value Whether or not public network access is allowed for specified resources under the Video Analyzer account.
     */
    @JvmName("mqirbkoalmxkvonx")
    public fun publicNetworkAccess(`value`: PublicNetworkAccess) {
        val toBeMapped = Either.ofRight(value)
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicNetworkAccess = mapped
    }

    internal fun build(): GroupLevelAccessControlArgs = GroupLevelAccessControlArgs(
        publicNetworkAccess = publicNetworkAccess,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy