com.pulumi.gcp.sql.kotlin.outputs.UserPasswordPolicyStatus.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.sql.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property locked If true, user does not have login privileges.
* @property passwordExpirationTime Password expiration duration with one week grace period.
*/
public data class UserPasswordPolicyStatus(
public val locked: Boolean? = null,
public val passwordExpirationTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.UserPasswordPolicyStatus): UserPasswordPolicyStatus = UserPasswordPolicyStatus(
locked = javaType.locked().map({ args0 -> args0 }).orElse(null),
passwordExpirationTime = javaType.passwordExpirationTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy