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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessPolicyRequireOktaArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireOktaArgs.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 The ID of your Okta identity provider.
 * @property names The name of the Okta Group.
 */
public data class ZeroTrustAccessPolicyRequireOktaArgs(
    public val identityProviderId: Output? = null,
    public val names: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireOktaArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireOktaArgs.builder()
            .identityProviderId(identityProviderId?.applyValue({ args0 -> args0 }))
            .names(names?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var names: Output>? = null

    /**
     * @param value The ID of your Okta identity provider.
     */
    @JvmName("nxsxackpxkfdurtw")
    public suspend fun identityProviderId(`value`: Output) {
        this.identityProviderId = value
    }

    /**
     * @param value The name of the Okta Group.
     */
    @JvmName("llyhwukwpacskeek")
    public suspend fun names(`value`: Output>) {
        this.names = value
    }

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

    /**
     * @param values The name of the Okta Group.
     */
    @JvmName("lpdlrwvxxdhsadfa")
    public suspend fun names(values: List>) {
        this.names = Output.all(values)
    }

    /**
     * @param value The ID of your Okta identity provider.
     */
    @JvmName("thajrmjsiknkwsqj")
    public suspend fun identityProviderId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identityProviderId = mapped
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy