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

com.pulumi.azurenative.search.kotlin.inputs.EncryptionWithCmkArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.search.kotlin.inputs

import com.pulumi.azurenative.search.inputs.EncryptionWithCmkArgs.builder
import com.pulumi.azurenative.search.kotlin.enums.SearchEncryptionWithCmk
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Describes a policy that determines how resources within the search service are to be encrypted with Customer Managed Keys.
 * @property enforcement Describes how a search service should enforce having one or more non customer encrypted resources.
 */
public data class EncryptionWithCmkArgs(
    public val enforcement: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.search.inputs.EncryptionWithCmkArgs =
        com.pulumi.azurenative.search.inputs.EncryptionWithCmkArgs.builder()
            .enforcement(enforcement?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [EncryptionWithCmkArgs].
 */
@PulumiTagMarker
public class EncryptionWithCmkArgsBuilder internal constructor() {
    private var enforcement: Output? = null

    /**
     * @param value Describes how a search service should enforce having one or more non customer encrypted resources.
     */
    @JvmName("pobnursvvonapfte")
    public suspend fun enforcement(`value`: Output) {
        this.enforcement = value
    }

    /**
     * @param value Describes how a search service should enforce having one or more non customer encrypted resources.
     */
    @JvmName("yhfhatuhyekthxqt")
    public suspend fun enforcement(`value`: SearchEncryptionWithCmk?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enforcement = mapped
    }

    internal fun build(): EncryptionWithCmkArgs = EncryptionWithCmkArgs(
        enforcement = enforcement,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy