com.pulumi.gcp.databasemigrationservice.kotlin.inputs.ConnectionProfileAlloydbSettingsInitialUserArgs.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.databasemigrationservice.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.databasemigrationservice.inputs.ConnectionProfileAlloydbSettingsInitialUserArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property password The initial password for the user.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property passwordSet (Output)
* Output only. Indicates if the initialUser.password field has been set.
* @property user The database username.
*/
public data class ConnectionProfileAlloydbSettingsInitialUserArgs(
public val password: Output,
public val passwordSet: Output? = null,
public val user: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.databasemigrationservice.inputs.ConnectionProfileAlloydbSettingsInitialUserArgs =
com.pulumi.gcp.databasemigrationservice.inputs.ConnectionProfileAlloydbSettingsInitialUserArgs.builder()
.password(password.applyValue({ args0 -> args0 }))
.passwordSet(passwordSet?.applyValue({ args0 -> args0 }))
.user(user.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionProfileAlloydbSettingsInitialUserArgs].
*/
@PulumiTagMarker
public class ConnectionProfileAlloydbSettingsInitialUserArgsBuilder internal constructor() {
private var password: Output? = null
private var passwordSet: Output? = null
private var user: Output? = null
/**
* @param value The initial password for the user.
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
@JvmName("duwdqweihdjwlcdm")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value (Output)
* Output only. Indicates if the initialUser.password field has been set.
*/
@JvmName("nianqtdxspdtqqlo")
public suspend fun passwordSet(`value`: Output) {
this.passwordSet = value
}
/**
* @param value The database username.
*/
@JvmName("llvuyrkukmacncda")
public suspend fun user(`value`: Output) {
this.user = value
}
/**
* @param value The initial password for the user.
* **Note**: This property is sensitive and will not be displayed in the plan.
*/
@JvmName("riiyteurkioionwq")
public suspend fun password(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value (Output)
* Output only. Indicates if the initialUser.password field has been set.
*/
@JvmName("ywldrwkvnhtsaosp")
public suspend fun passwordSet(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.passwordSet = mapped
}
/**
* @param value The database username.
*/
@JvmName("shaqprtsifevifdm")
public suspend fun user(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.user = mapped
}
internal fun build(): ConnectionProfileAlloydbSettingsInitialUserArgs =
ConnectionProfileAlloydbSettingsInitialUserArgs(
password = password ?: throw PulumiNullFieldException("password"),
passwordSet = passwordSet,
user = user ?: throw PulumiNullFieldException("user"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy