com.pulumi.gcp.applicationintegration.kotlin.inputs.AuthConfigDecryptedCredentialUsernameAndPasswordArgs.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.AuthConfigDecryptedCredentialUsernameAndPasswordArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property password Password to be used.
* The `oauth2_authorization_code` block supports:
* @property username Username to be used.
*/
public data class AuthConfigDecryptedCredentialUsernameAndPasswordArgs(
public val password: Output? = null,
public val username: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialUsernameAndPasswordArgs =
com.pulumi.gcp.applicationintegration.inputs.AuthConfigDecryptedCredentialUsernameAndPasswordArgs.builder()
.password(password?.applyValue({ args0 -> args0 }))
.username(username?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthConfigDecryptedCredentialUsernameAndPasswordArgs].
*/
@PulumiTagMarker
public class AuthConfigDecryptedCredentialUsernameAndPasswordArgsBuilder internal constructor() {
private var password: Output? = null
private var username: Output? = null
/**
* @param value Password to be used.
* The `oauth2_authorization_code` block supports:
*/
@JvmName("kypdswebrltugnis")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value Username to be used.
*/
@JvmName("jdhfeyhxbvupcpww")
public suspend fun username(`value`: Output) {
this.username = value
}
/**
* @param value Password to be used.
* The `oauth2_authorization_code` block supports:
*/
@JvmName("dnowwmfdtbqidwvi")
public suspend fun password(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value Username to be used.
*/
@JvmName("tcpkgjttrqnppfjb")
public suspend fun username(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.username = mapped
}
internal fun build(): AuthConfigDecryptedCredentialUsernameAndPasswordArgs =
AuthConfigDecryptedCredentialUsernameAndPasswordArgs(
password = password,
username = username,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy