![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.documentdb.kotlin.inputs.ClientEncryptionPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.documentdb.kotlin.inputs
import com.pulumi.azurenative.documentdb.inputs.ClientEncryptionPolicyArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Cosmos DB client encryption policy.
* @property includedPaths Paths of the item that need encryption along with path-specific settings.
* @property policyFormatVersion Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption.
*/
public data class ClientEncryptionPolicyArgs(
public val includedPaths: Output>,
public val policyFormatVersion: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.documentdb.inputs.ClientEncryptionPolicyArgs =
com.pulumi.azurenative.documentdb.inputs.ClientEncryptionPolicyArgs.builder()
.includedPaths(
includedPaths.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.policyFormatVersion(policyFormatVersion.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClientEncryptionPolicyArgs].
*/
@PulumiTagMarker
public class ClientEncryptionPolicyArgsBuilder internal constructor() {
private var includedPaths: Output>? = null
private var policyFormatVersion: Output? = null
/**
* @param value Paths of the item that need encryption along with path-specific settings.
*/
@JvmName("ftkugiptgvfptmgc")
public suspend fun includedPaths(`value`: Output>) {
this.includedPaths = value
}
@JvmName("awxcvqnsjvlbgqmg")
public suspend fun includedPaths(vararg values: Output) {
this.includedPaths = Output.all(values.asList())
}
/**
* @param values Paths of the item that need encryption along with path-specific settings.
*/
@JvmName("suexhdknpyhmhngp")
public suspend fun includedPaths(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy