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

com.pulumi.gcp.vertex.kotlin.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vertex.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.vertex.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property authProvider Defines the authentication provider that the DeployedIndex uses.
 * Structure is documented below.
 */
public data class AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs(
    public val authProvider: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.vertex.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs =
        com.pulumi.gcp.vertex.inputs.AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs.builder()
            .authProvider(authProvider?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs].
 */
@PulumiTagMarker
public class AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgsBuilder internal constructor() {
    private var authProvider:
        Output? = null

    /**
     * @param value Defines the authentication provider that the DeployedIndex uses.
     * Structure is documented below.
     */
    @JvmName("twochxlslylcbxtb")
    public suspend fun authProvider(`value`: Output) {
        this.authProvider = value
    }

    /**
     * @param value Defines the authentication provider that the DeployedIndex uses.
     * Structure is documented below.
     */
    @JvmName("ejybluxcudpaerjy")
    public suspend fun authProvider(`value`: AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.authProvider = mapped
    }

    /**
     * @param argument Defines the authentication provider that the DeployedIndex uses.
     * Structure is documented below.
     */
    @JvmName("shjeyovummfvdufk")
    public suspend fun authProvider(argument: suspend AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgsBuilder.() -> Unit) {
        val toBeMapped =
            AiIndexEndpointDeployedIndexDeployedIndexAuthConfigAuthProviderArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.authProvider = mapped
    }

    internal fun build(): AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs =
        AiIndexEndpointDeployedIndexDeployedIndexAuthConfigArgs(
            authProvider = authProvider,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy