com.pulumi.gcp.applicationintegration.kotlin.inputs.AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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.AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs.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 key Key of the map entry.
* Structure is documented below.
* @property value Value of the map entry.
* Structure is documented below.
*/
public data class AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs(
public val key: Output? = null,
public val `value`: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs =
com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs.builder()
.key(key?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs].
*/
@PulumiTagMarker
public class AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgsBuilder
internal constructor() {
private var key:
Output? = null
private var `value`:
Output? = null
/**
* @param value Key of the map entry.
* Structure is documented below.
*/
@JvmName("gfeujwwirlvdgouv")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value Value of the map entry.
* Structure is documented below.
*/
@JvmName("tswdbbgoaykuicyf")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Key of the map entry.
* Structure is documented below.
*/
@JvmName("gchsqrhpatyvumcs")
public suspend fun key(`value`: AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryKeyArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param argument Key of the map entry.
* Structure is documented below.
*/
@JvmName("pvqfxfkvwfnddreq")
public suspend fun key(argument: suspend AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryKeyArgsBuilder.() -> Unit) {
val toBeMapped =
AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryKeyArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.key = mapped
}
/**
* @param value Value of the map entry.
* Structure is documented below.
*/
@JvmName("uuabllialcaopyir")
public suspend fun `value`(`value`: AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryValueArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
/**
* @param argument Value of the map entry.
* Structure is documented below.
*/
@JvmName("tmlymyxvjmutfyrv")
public suspend fun `value`(argument: suspend AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryValueArgsBuilder.() -> Unit) {
val toBeMapped =
AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryValueArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.`value` = mapped
}
internal fun build(): AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs =
AuthConfigDecryptedCredentialOauth2ClientCredentialsTokenParamsEntryArgs(
key = key,
`value` = `value`,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy