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

com.pulumi.azurenative.documentdb.kotlin.inputs.ClientEncryptionIncludedPathArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.documentdb.kotlin.inputs

import com.pulumi.azurenative.documentdb.inputs.ClientEncryptionIncludedPathArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * .
 * @property clientEncryptionKeyId The identifier of the Client Encryption Key to be used to encrypt the path.
 * @property encryptionAlgorithm The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
 * @property encryptionType The type of encryption to be performed. Eg - Deterministic, Randomized.
 * @property path Path that needs to be encrypted.
 */
public data class ClientEncryptionIncludedPathArgs(
    public val clientEncryptionKeyId: Output,
    public val encryptionAlgorithm: Output,
    public val encryptionType: Output,
    public val path: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.documentdb.inputs.ClientEncryptionIncludedPathArgs =
        com.pulumi.azurenative.documentdb.inputs.ClientEncryptionIncludedPathArgs.builder()
            .clientEncryptionKeyId(clientEncryptionKeyId.applyValue({ args0 -> args0 }))
            .encryptionAlgorithm(encryptionAlgorithm.applyValue({ args0 -> args0 }))
            .encryptionType(encryptionType.applyValue({ args0 -> args0 }))
            .path(path.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClientEncryptionIncludedPathArgs].
 */
@PulumiTagMarker
public class ClientEncryptionIncludedPathArgsBuilder internal constructor() {
    private var clientEncryptionKeyId: Output? = null

    private var encryptionAlgorithm: Output? = null

    private var encryptionType: Output? = null

    private var path: Output? = null

    /**
     * @param value The identifier of the Client Encryption Key to be used to encrypt the path.
     */
    @JvmName("ibyfjfqefiyfgtcj")
    public suspend fun clientEncryptionKeyId(`value`: Output) {
        this.clientEncryptionKeyId = value
    }

    /**
     * @param value The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
     */
    @JvmName("plcvbixfyalskatk")
    public suspend fun encryptionAlgorithm(`value`: Output) {
        this.encryptionAlgorithm = value
    }

    /**
     * @param value The type of encryption to be performed. Eg - Deterministic, Randomized.
     */
    @JvmName("vvgyajhsrhvrdxua")
    public suspend fun encryptionType(`value`: Output) {
        this.encryptionType = value
    }

    /**
     * @param value Path that needs to be encrypted.
     */
    @JvmName("qutrwywcvglvsuys")
    public suspend fun path(`value`: Output) {
        this.path = value
    }

    /**
     * @param value The identifier of the Client Encryption Key to be used to encrypt the path.
     */
    @JvmName("iiujptoclcpxlrhs")
    public suspend fun clientEncryptionKeyId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clientEncryptionKeyId = mapped
    }

    /**
     * @param value The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256.
     */
    @JvmName("dechdhhijkctvlhd")
    public suspend fun encryptionAlgorithm(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.encryptionAlgorithm = mapped
    }

    /**
     * @param value The type of encryption to be performed. Eg - Deterministic, Randomized.
     */
    @JvmName("wekjcluibmljvcak")
    public suspend fun encryptionType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.encryptionType = mapped
    }

    /**
     * @param value Path that needs to be encrypted.
     */
    @JvmName("dgkoinvowxrwbenw")
    public suspend fun path(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.path = mapped
    }

    internal fun build(): ClientEncryptionIncludedPathArgs = ClientEncryptionIncludedPathArgs(
        clientEncryptionKeyId = clientEncryptionKeyId ?: throw
            PulumiNullFieldException("clientEncryptionKeyId"),
        encryptionAlgorithm = encryptionAlgorithm ?: throw PulumiNullFieldException("encryptionAlgorithm"),
        encryptionType = encryptionType ?: throw PulumiNullFieldException("encryptionType"),
        path = path ?: throw PulumiNullFieldException("path"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy