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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessGroupRequireArgs.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustAccessGroupRequireArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property anyValidServiceToken
 * @property authContexts
 * @property authMethod
 * @property azures
 * @property certificate
 * @property commonName
 * @property commonNames Overflow field if you need to have multiple common*name rules in a single policy.  Use in place of the singular common*name field.
 * @property devicePostures
 * @property emailDomains
 * @property emailLists
 * @property emails
 * @property everyone
 * @property externalEvaluations
 * @property geos
 * @property githubs
 * @property groups
 * @property gsuites
 * @property ipLists The ID of an existing IP list to reference.
 * @property ips An IPv4 or IPv6 CIDR block.
 * @property loginMethods
 * @property oktas
 * @property samls
 * @property serviceTokens
 */
public data class ZeroTrustAccessGroupRequireArgs(
    public val anyValidServiceToken: Output? = null,
    public val authContexts: Output>? = null,
    public val authMethod: Output? = null,
    public val azures: Output>? = null,
    public val certificate: Output? = null,
    public val commonName: Output? = null,
    public val commonNames: Output>? = null,
    public val devicePostures: Output>? = null,
    public val emailDomains: Output>? = null,
    public val emailLists: Output>? = null,
    public val emails: Output>? = null,
    public val everyone: Output? = null,
    public val externalEvaluations: Output>? =
        null,
    public val geos: Output>? = null,
    public val githubs: Output>? = null,
    public val groups: Output>? = null,
    public val gsuites: Output>? = null,
    public val ipLists: Output>? = null,
    public val ips: Output>? = null,
    public val loginMethods: Output>? = null,
    public val oktas: Output>? = null,
    public val samls: Output>? = null,
    public val serviceTokens: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessGroupRequireArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustAccessGroupRequireArgs.builder()
            .anyValidServiceToken(anyValidServiceToken?.applyValue({ args0 -> args0 }))
            .authContexts(
                authContexts?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .authMethod(authMethod?.applyValue({ args0 -> args0 }))
            .azures(azures?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .certificate(certificate?.applyValue({ args0 -> args0 }))
            .commonName(commonName?.applyValue({ args0 -> args0 }))
            .commonNames(commonNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .devicePostures(devicePostures?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .emailDomains(emailDomains?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .emailLists(emailLists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .emails(emails?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .everyone(everyone?.applyValue({ args0 -> args0 }))
            .externalEvaluations(
                externalEvaluations?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .geos(geos?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .githubs(
                githubs?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .groups(groups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .gsuites(
                gsuites?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .ipLists(ipLists?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .ips(ips?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .loginMethods(loginMethods?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .oktas(oktas?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .samls(samls?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .serviceTokens(serviceTokens?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ZeroTrustAccessGroupRequireArgs].
 */
@PulumiTagMarker
public class ZeroTrustAccessGroupRequireArgsBuilder internal constructor() {
    private var anyValidServiceToken: Output? = null

    private var authContexts: Output>? = null

    private var authMethod: Output? = null

    private var azures: Output>? = null

    private var certificate: Output? = null

    private var commonName: Output? = null

    private var commonNames: Output>? = null

    private var devicePostures: Output>? = null

    private var emailDomains: Output>? = null

    private var emailLists: Output>? = null

    private var emails: Output>? = null

    private var everyone: Output? = null

    private var externalEvaluations: Output>? =
        null

    private var geos: Output>? = null

    private var githubs: Output>? = null

    private var groups: Output>? = null

    private var gsuites: Output>? = null

    private var ipLists: Output>? = null

    private var ips: Output>? = null

    private var loginMethods: Output>? = null

    private var oktas: Output>? = null

    private var samls: Output>? = null

    private var serviceTokens: Output>? = null

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

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

    @JvmName("iurnudfbdjuevrqa")
    public suspend fun authContexts(vararg values: Output) {
        this.authContexts = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("vueyeomhxlqybdsk")
    public suspend fun authContexts(values: List>) {
        this.authContexts = Output.all(values)
    }

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

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

    @JvmName("xxrxkoslpyswtjar")
    public suspend fun azures(vararg values: Output) {
        this.azures = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("lfteyhrpqlxbumxu")
    public suspend fun azures(values: List>) {
        this.azures = Output.all(values)
    }

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

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

    /**
     * @param value Overflow field if you need to have multiple common*name rules in a single policy.  Use in place of the singular common*name field.
     */
    @JvmName("pglattcgejsypepn")
    public suspend fun commonNames(`value`: Output>) {
        this.commonNames = value
    }

    @JvmName("nwkimvyfvfajifwx")
    public suspend fun commonNames(vararg values: Output) {
        this.commonNames = Output.all(values.asList())
    }

    /**
     * @param values Overflow field if you need to have multiple common*name rules in a single policy.  Use in place of the singular common*name field.
     */
    @JvmName("mhkoxhempwmyooly")
    public suspend fun commonNames(values: List>) {
        this.commonNames = Output.all(values)
    }

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

    @JvmName("jglyvgbxkrecjson")
    public suspend fun devicePostures(vararg values: Output) {
        this.devicePostures = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("amgtwaibqwucqvya")
    public suspend fun devicePostures(values: List>) {
        this.devicePostures = Output.all(values)
    }

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

    @JvmName("dbmclbiusjsrojsp")
    public suspend fun emailDomains(vararg values: Output) {
        this.emailDomains = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("elsauyjbqmkyyxdm")
    public suspend fun emailDomains(values: List>) {
        this.emailDomains = Output.all(values)
    }

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

    @JvmName("kkjhjsbgdoodscli")
    public suspend fun emailLists(vararg values: Output) {
        this.emailLists = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("ydmowbsuhukokgaw")
    public suspend fun emailLists(values: List>) {
        this.emailLists = Output.all(values)
    }

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

    @JvmName("oovqqqiwlnmbasjy")
    public suspend fun emails(vararg values: Output) {
        this.emails = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("dkgpujulacdrppsk")
    public suspend fun emails(values: List>) {
        this.emails = Output.all(values)
    }

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

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

    @JvmName("glsdprmeytucyetj")
    public suspend fun externalEvaluations(vararg values: Output) {
        this.externalEvaluations = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("xlfyvwixwdsehgtr")
    public suspend fun externalEvaluations(values: List>) {
        this.externalEvaluations = Output.all(values)
    }

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

    @JvmName("wubpeewcwhrdftqm")
    public suspend fun geos(vararg values: Output) {
        this.geos = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("qqafyrtcmyixtbnh")
    public suspend fun geos(values: List>) {
        this.geos = Output.all(values)
    }

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

    @JvmName("utqjicfkcqnyrrui")
    public suspend fun githubs(vararg values: Output) {
        this.githubs = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("qikaenylgbmtvddd")
    public suspend fun githubs(values: List>) {
        this.githubs = Output.all(values)
    }

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

    @JvmName("vtiesmcrhbbikpvk")
    public suspend fun groups(vararg values: Output) {
        this.groups = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("alxugntkqmerrkxr")
    public suspend fun groups(values: List>) {
        this.groups = Output.all(values)
    }

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

    @JvmName("jmmascnfdqbtvceb")
    public suspend fun gsuites(vararg values: Output) {
        this.gsuites = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("trnyoxomgnbuvcma")
    public suspend fun gsuites(values: List>) {
        this.gsuites = Output.all(values)
    }

    /**
     * @param value The ID of an existing IP list to reference.
     */
    @JvmName("xmpfknibiqtfoboj")
    public suspend fun ipLists(`value`: Output>) {
        this.ipLists = value
    }

    @JvmName("fwwvbcawefibceyx")
    public suspend fun ipLists(vararg values: Output) {
        this.ipLists = Output.all(values.asList())
    }

    /**
     * @param values The ID of an existing IP list to reference.
     */
    @JvmName("wfkifkoxjtfoehyq")
    public suspend fun ipLists(values: List>) {
        this.ipLists = Output.all(values)
    }

    /**
     * @param value An IPv4 or IPv6 CIDR block.
     */
    @JvmName("xwdfxeuknlftbaqu")
    public suspend fun ips(`value`: Output>) {
        this.ips = value
    }

    @JvmName("tphtdkulyaycumrj")
    public suspend fun ips(vararg values: Output) {
        this.ips = Output.all(values.asList())
    }

    /**
     * @param values An IPv4 or IPv6 CIDR block.
     */
    @JvmName("trltglkqhbircnbe")
    public suspend fun ips(values: List>) {
        this.ips = Output.all(values)
    }

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

    @JvmName("auelcorljckgtqmq")
    public suspend fun loginMethods(vararg values: Output) {
        this.loginMethods = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("wggylsevwcnddabf")
    public suspend fun loginMethods(values: List>) {
        this.loginMethods = Output.all(values)
    }

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

    @JvmName("llocctewfsgjiqla")
    public suspend fun oktas(vararg values: Output) {
        this.oktas = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("rxnmrntjkvhpmwoy")
    public suspend fun oktas(values: List>) {
        this.oktas = Output.all(values)
    }

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

    @JvmName("xefdgqmnrxqxugdi")
    public suspend fun samls(vararg values: Output) {
        this.samls = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("jwjpydcjyyacdhij")
    public suspend fun samls(values: List>) {
        this.samls = Output.all(values)
    }

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

    @JvmName("gtyrywulgahjwhno")
    public suspend fun serviceTokens(vararg values: Output) {
        this.serviceTokens = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("qmwgwamvojcwmeus")
    public suspend fun serviceTokens(values: List>) {
        this.serviceTokens = Output.all(values)
    }

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

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

    /**
     * @param argument
     */
    @JvmName("vdyfwexbebdgyicm")
    public suspend fun authContexts(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireAuthContextArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.authContexts = mapped
    }

    /**
     * @param argument
     */
    @JvmName("xwqbkfgdylgnavbc")
    public suspend fun authContexts(vararg argument: suspend ZeroTrustAccessGroupRequireAuthContextArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireAuthContextArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.authContexts = mapped
    }

    /**
     * @param argument
     */
    @JvmName("snelusxbfafrswek")
    public suspend fun authContexts(argument: suspend ZeroTrustAccessGroupRequireAuthContextArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustAccessGroupRequireAuthContextArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.authContexts = mapped
    }

    /**
     * @param values
     */
    @JvmName("vkyvtednvibyttvy")
    public suspend fun authContexts(vararg values: ZeroTrustAccessGroupRequireAuthContextArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.authContexts = mapped
    }

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

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

    /**
     * @param argument
     */
    @JvmName("uyshoiuwssooueom")
    public suspend fun azures(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireAzureArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.azures = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ahsdbkrsyrtyjymv")
    public suspend fun azures(vararg argument: suspend ZeroTrustAccessGroupRequireAzureArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireAzureArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.azures = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ajthmdicoektfint")
    public suspend fun azures(argument: suspend ZeroTrustAccessGroupRequireAzureArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustAccessGroupRequireAzureArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.azures = mapped
    }

    /**
     * @param values
     */
    @JvmName("byxsyrmxxfuhhdxd")
    public suspend fun azures(vararg values: ZeroTrustAccessGroupRequireAzureArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.azures = mapped
    }

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

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

    /**
     * @param value Overflow field if you need to have multiple common*name rules in a single policy.  Use in place of the singular common*name field.
     */
    @JvmName("cvpfnmnfkgnleabe")
    public suspend fun commonNames(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.commonNames = mapped
    }

    /**
     * @param values Overflow field if you need to have multiple common*name rules in a single policy.  Use in place of the singular common*name field.
     */
    @JvmName("cjvceehitcxepimu")
    public suspend fun commonNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.commonNames = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("xpewgbdcopyfaeit")
    public suspend fun devicePostures(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.devicePostures = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("efnrluytbjyduqnj")
    public suspend fun emailDomains(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.emailDomains = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("yrhsfwbmyaujhucb")
    public suspend fun emailLists(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.emailLists = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("piojceofscaftubl")
    public suspend fun emails(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.emails = mapped
    }

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

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

    /**
     * @param argument
     */
    @JvmName("qidnkbiomuiwbpic")
    public suspend fun externalEvaluations(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireExternalEvaluationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.externalEvaluations = mapped
    }

    /**
     * @param argument
     */
    @JvmName("qmrqcawswutnnmoh")
    public suspend fun externalEvaluations(vararg argument: suspend ZeroTrustAccessGroupRequireExternalEvaluationArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireExternalEvaluationArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.externalEvaluations = mapped
    }

    /**
     * @param argument
     */
    @JvmName("wnseqsxqxgxoqljp")
    public suspend fun externalEvaluations(argument: suspend ZeroTrustAccessGroupRequireExternalEvaluationArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustAccessGroupRequireExternalEvaluationArgsBuilder().applySuspend
                { argument() }.build(),
        )
        val mapped = of(toBeMapped)
        this.externalEvaluations = mapped
    }

    /**
     * @param values
     */
    @JvmName("uwqtwgpfjomlfjaf")
    public suspend fun externalEvaluations(vararg values: ZeroTrustAccessGroupRequireExternalEvaluationArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.externalEvaluations = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("qbqvgoxsognwdwhw")
    public suspend fun geos(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.geos = mapped
    }

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

    /**
     * @param argument
     */
    @JvmName("tfvtgypqowphiami")
    public suspend fun githubs(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireGithubArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.githubs = mapped
    }

    /**
     * @param argument
     */
    @JvmName("qcwgcvecrrthdoas")
    public suspend fun githubs(vararg argument: suspend ZeroTrustAccessGroupRequireGithubArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireGithubArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.githubs = mapped
    }

    /**
     * @param argument
     */
    @JvmName("msnnqnihaeuqthml")
    public suspend fun githubs(argument: suspend ZeroTrustAccessGroupRequireGithubArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustAccessGroupRequireGithubArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.githubs = mapped
    }

    /**
     * @param values
     */
    @JvmName("xqwlvnttwlpyrirc")
    public suspend fun githubs(vararg values: ZeroTrustAccessGroupRequireGithubArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.githubs = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("rgjegoqyufycypsm")
    public suspend fun groups(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.groups = mapped
    }

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

    /**
     * @param argument
     */
    @JvmName("jfnidmgsaywxdlpv")
    public suspend fun gsuites(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireGsuiteArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.gsuites = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ytnlbpikxmxwrslq")
    public suspend fun gsuites(vararg argument: suspend ZeroTrustAccessGroupRequireGsuiteArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireGsuiteArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.gsuites = mapped
    }

    /**
     * @param argument
     */
    @JvmName("wyvbaijursgjnaum")
    public suspend fun gsuites(argument: suspend ZeroTrustAccessGroupRequireGsuiteArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustAccessGroupRequireGsuiteArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.gsuites = mapped
    }

    /**
     * @param values
     */
    @JvmName("cijfssjhewiwwdpj")
    public suspend fun gsuites(vararg values: ZeroTrustAccessGroupRequireGsuiteArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.gsuites = mapped
    }

    /**
     * @param value The ID of an existing IP list to reference.
     */
    @JvmName("akdgfdkctywjivir")
    public suspend fun ipLists(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ipLists = mapped
    }

    /**
     * @param values The ID of an existing IP list to reference.
     */
    @JvmName("bijjnapybqkooyjq")
    public suspend fun ipLists(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipLists = mapped
    }

    /**
     * @param value An IPv4 or IPv6 CIDR block.
     */
    @JvmName("prbypnboittgqpqt")
    public suspend fun ips(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ips = mapped
    }

    /**
     * @param values An IPv4 or IPv6 CIDR block.
     */
    @JvmName("xfhwdelanvcsojxn")
    public suspend fun ips(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ips = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("fygimeoukhtsrdhy")
    public suspend fun loginMethods(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.loginMethods = mapped
    }

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

    /**
     * @param argument
     */
    @JvmName("ineghjohycutmiom")
    public suspend fun oktas(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireOktaArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.oktas = mapped
    }

    /**
     * @param argument
     */
    @JvmName("gbhwmgyeeibefxuf")
    public suspend fun oktas(vararg argument: suspend ZeroTrustAccessGroupRequireOktaArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireOktaArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.oktas = mapped
    }

    /**
     * @param argument
     */
    @JvmName("fytkikotdykvqdlp")
    public suspend fun oktas(argument: suspend ZeroTrustAccessGroupRequireOktaArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustAccessGroupRequireOktaArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.oktas = mapped
    }

    /**
     * @param values
     */
    @JvmName("nyiouklufbjlwqjx")
    public suspend fun oktas(vararg values: ZeroTrustAccessGroupRequireOktaArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oktas = mapped
    }

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

    /**
     * @param argument
     */
    @JvmName("ixrjysfxixahhdbs")
    public suspend fun samls(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireSamlArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.samls = mapped
    }

    /**
     * @param argument
     */
    @JvmName("vvxfwwuxjfrfwlbb")
    public suspend fun samls(vararg argument: suspend ZeroTrustAccessGroupRequireSamlArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            ZeroTrustAccessGroupRequireSamlArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.samls = mapped
    }

    /**
     * @param argument
     */
    @JvmName("qrvsvrsubfvfkfcv")
    public suspend fun samls(argument: suspend ZeroTrustAccessGroupRequireSamlArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            ZeroTrustAccessGroupRequireSamlArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.samls = mapped
    }

    /**
     * @param values
     */
    @JvmName("rjsiaqghgejuyila")
    public suspend fun samls(vararg values: ZeroTrustAccessGroupRequireSamlArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.samls = mapped
    }

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

    /**
     * @param values
     */
    @JvmName("rgoobguptjudodib")
    public suspend fun serviceTokens(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.serviceTokens = mapped
    }

    internal fun build(): ZeroTrustAccessGroupRequireArgs = ZeroTrustAccessGroupRequireArgs(
        anyValidServiceToken = anyValidServiceToken,
        authContexts = authContexts,
        authMethod = authMethod,
        azures = azures,
        certificate = certificate,
        commonName = commonName,
        commonNames = commonNames,
        devicePostures = devicePostures,
        emailDomains = emailDomains,
        emailLists = emailLists,
        emails = emails,
        everyone = everyone,
        externalEvaluations = externalEvaluations,
        geos = geos,
        githubs = githubs,
        groups = groups,
        gsuites = gsuites,
        ipLists = ipLists,
        ips = ips,
        loginMethods = loginMethods,
        oktas = oktas,
        samls = samls,
        serviceTokens = serviceTokens,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy