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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessPolicyRequireGithubArgs.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.ZeroTrustAccessPolicyRequireGithubArgs.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 name
 * @property teams
 */
public data class ZeroTrustAccessPolicyRequireGithubArgs(
    public val identityProviderId: Output? = null,
    public val name: Output? = null,
    public val teams: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireGithubArgs =
        com.pulumi.cloudflare.inputs.ZeroTrustAccessPolicyRequireGithubArgs.builder()
            .identityProviderId(identityProviderId?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .teams(teams?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var name: Output? = null

    private var teams: Output>? = null

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

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

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

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

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

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

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

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

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

    internal fun build(): ZeroTrustAccessPolicyRequireGithubArgs =
        ZeroTrustAccessPolicyRequireGithubArgs(
            identityProviderId = identityProviderId,
            name = name,
            teams = teams,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy