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

com.pulumi.cloudflare.kotlin.inputs.AccessGroupRequireOktaArgs.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.AccessGroupRequireOktaArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property identityProviderId
 * @property names
 */
public data class AccessGroupRequireOktaArgs(
    public val identityProviderId: Output? = null,
    public val names: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.AccessGroupRequireOktaArgs =
        com.pulumi.cloudflare.inputs.AccessGroupRequireOktaArgs.builder()
            .identityProviderId(identityProviderId?.applyValue({ args0 -> args0 }))
            .names(names?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AccessGroupRequireOktaArgs].
 */
@PulumiTagMarker
public class AccessGroupRequireOktaArgsBuilder internal constructor() {
    private var identityProviderId: Output? = null

    private var names: Output>? = null

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

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

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

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

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

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

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

    internal fun build(): AccessGroupRequireOktaArgs = AccessGroupRequireOktaArgs(
        identityProviderId = identityProviderId,
        names = names,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy