com.pulumi.gcp.alloydb.kotlin.outputs.ClusterEncryptionInfo.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.alloydb.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property encryptionType (Output)
* Output only. Type of encryption.
* @property kmsKeyVersions (Output)
* Output only. Cloud KMS key versions that are being used to protect the database or the backup.
*/
public data class ClusterEncryptionInfo(
public val encryptionType: String? = null,
public val kmsKeyVersions: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterEncryptionInfo): ClusterEncryptionInfo = ClusterEncryptionInfo(
encryptionType = javaType.encryptionType().map({ args0 -> args0 }).orElse(null),
kmsKeyVersions = javaType.kmsKeyVersions().map({ args0 -> args0 }),
)
}
}