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

com.pulumi.azurenative.storagecache.kotlin.inputs.AmlFilesystemEncryptionSettingsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.storagecache.kotlin.inputs

import com.pulumi.azurenative.storagecache.inputs.AmlFilesystemEncryptionSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * AML file system encryption settings.
 * @property keyEncryptionKey Specifies the location of the encryption key in Key Vault.
 */
public data class AmlFilesystemEncryptionSettingsArgs(
    public val keyEncryptionKey: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.storagecache.inputs.AmlFilesystemEncryptionSettingsArgs =
        com.pulumi.azurenative.storagecache.inputs.AmlFilesystemEncryptionSettingsArgs.builder()
            .keyEncryptionKey(
                keyEncryptionKey?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [AmlFilesystemEncryptionSettingsArgs].
 */
@PulumiTagMarker
public class AmlFilesystemEncryptionSettingsArgsBuilder internal constructor() {
    private var keyEncryptionKey: Output? = null

    /**
     * @param value Specifies the location of the encryption key in Key Vault.
     */
    @JvmName("shsbwjwtvtotdohi")
    public suspend fun keyEncryptionKey(`value`: Output) {
        this.keyEncryptionKey = value
    }

    /**
     * @param value Specifies the location of the encryption key in Key Vault.
     */
    @JvmName("lpacebggtxmcigib")
    public suspend fun keyEncryptionKey(`value`: KeyVaultKeyReferenceArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keyEncryptionKey = mapped
    }

    /**
     * @param argument Specifies the location of the encryption key in Key Vault.
     */
    @JvmName("lgbwuaymnormobdj")
    public suspend fun keyEncryptionKey(argument: suspend KeyVaultKeyReferenceArgsBuilder.() -> Unit) {
        val toBeMapped = KeyVaultKeyReferenceArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.keyEncryptionKey = mapped
    }

    internal fun build(): AmlFilesystemEncryptionSettingsArgs = AmlFilesystemEncryptionSettingsArgs(
        keyEncryptionKey = keyEncryptionKey,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy