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

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

package com.pulumi.gcp.applicationintegration.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialAuthTokenArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property token The token for the auth type.
 * @property type Authentication type, e.g. "Basic", "Bearer", etc.
 */
public data class AuthConfigDecryptedCredentialAuthTokenArgs(
    public val token: Output? = null,
    public val type: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialAuthTokenArgs =
        com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialAuthTokenArgs.builder()
            .token(token?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AuthConfigDecryptedCredentialAuthTokenArgs].
 */
@PulumiTagMarker
public class AuthConfigDecryptedCredentialAuthTokenArgsBuilder internal constructor() {
    private var token: Output? = null

    private var type: Output? = null

    /**
     * @param value The token for the auth type.
     */
    @JvmName("ydhwumygswpycsks")
    public suspend fun token(`value`: Output) {
        this.token = value
    }

    /**
     * @param value Authentication type, e.g. "Basic", "Bearer", etc.
     */
    @JvmName("ixiuarshynmbufue")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The token for the auth type.
     */
    @JvmName("pkadkkbultlhlvvh")
    public suspend fun token(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.token = mapped
    }

    /**
     * @param value Authentication type, e.g. "Basic", "Bearer", etc.
     */
    @JvmName("uaeyieivsfjfpddv")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): AuthConfigDecryptedCredentialAuthTokenArgs =
        AuthConfigDecryptedCredentialAuthTokenArgs(
            token = token,
            type = type,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy