com.pulumi.gcp.alloydb.kotlin.outputs.ClusterInitialUser.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.alloydb.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property password The initial password for the user.
* **Note**: This property is sensitive and will not be displayed in the plan.
* @property user The database username.
*/
public data class ClusterInitialUser(
public val password: String,
public val user: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterInitialUser): ClusterInitialUser = ClusterInitialUser(
password = javaType.password(),
user = javaType.user().map({ args0 -> args0 }).orElse(null),
)
}
}