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

com.pulumi.cloudflare.kotlin.inputs.GetAccessIdentityProviderPlainArgs.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.GetAccessIdentityProviderPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getAccessIdentityProvider.
 * @property accountId The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
 * @property name Access Identity Provider name to search for.
 * @property zoneId The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
 */
public data class GetAccessIdentityProviderPlainArgs(
    public val accountId: String? = null,
    public val name: String,
    public val zoneId: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.GetAccessIdentityProviderPlainArgs =
        com.pulumi.cloudflare.inputs.GetAccessIdentityProviderPlainArgs.builder()
            .accountId(accountId?.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 }))
            .zoneId(zoneId?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAccessIdentityProviderPlainArgs].
 */
@PulumiTagMarker
public class GetAccessIdentityProviderPlainArgsBuilder internal constructor() {
    private var accountId: String? = null

    private var name: String? = null

    private var zoneId: String? = null

    /**
     * @param value The account identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
     */
    @JvmName("bpejhrtagxxmqmks")
    public suspend fun accountId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.accountId = mapped
    }

    /**
     * @param value Access Identity Provider name to search for.
     */
    @JvmName("edpdlxhejdjjmevv")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value The zone identifier to target for the resource. Must provide only one of `zone_id`, `account_id`.
     */
    @JvmName("nmwsudpkwexcummj")
    public suspend fun zoneId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.zoneId = mapped
    }

    internal fun build(): GetAccessIdentityProviderPlainArgs = GetAccessIdentityProviderPlainArgs(
        accountId = accountId,
        name = name ?: throw PulumiNullFieldException("name"),
        zoneId = zoneId,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy