All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.alloydb.kotlin.outputs.BackupEncryptionInfo.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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 BackupEncryptionInfo(
    public val encryptionType: String? = null,
    public val kmsKeyVersions: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.BackupEncryptionInfo): BackupEncryptionInfo = BackupEncryptionInfo(
            encryptionType = javaType.encryptionType().map({ args0 -> args0 }).orElse(null),
            kmsKeyVersions = javaType.kmsKeyVersions().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy