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

com.pulumi.gcp.alloydb.kotlin.inputs.BackupEncryptionConfigArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.alloydb.inputs.BackupEncryptionConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property kmsKeyName The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
 */
public data class BackupEncryptionConfigArgs(
    public val kmsKeyName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.alloydb.inputs.BackupEncryptionConfigArgs =
        com.pulumi.gcp.alloydb.inputs.BackupEncryptionConfigArgs.builder()
            .kmsKeyName(kmsKeyName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BackupEncryptionConfigArgs].
 */
@PulumiTagMarker
public class BackupEncryptionConfigArgsBuilder internal constructor() {
    private var kmsKeyName: Output? = null

    /**
     * @param value The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
     */
    @JvmName("evadkurscxallaln")
    public suspend fun kmsKeyName(`value`: Output) {
        this.kmsKeyName = value
    }

    /**
     * @param value The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
     */
    @JvmName("qcoqtjwswqffsdyy")
    public suspend fun kmsKeyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyName = mapped
    }

    internal fun build(): BackupEncryptionConfigArgs = BackupEncryptionConfigArgs(
        kmsKeyName = kmsKeyName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy