com.pulumi.vault.kotlin.inputs.GetPolicyDocumentRuleDeniedParameter.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.kotlin.inputs
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.inputs.GetPolicyDocumentRuleDeniedParameter.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property key name of permitted or denied parameter.
* @property values list of values what are permitted or denied by policy rule.
*/
public data class GetPolicyDocumentRuleDeniedParameter(
public val key: String,
public val values: List,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.inputs.GetPolicyDocumentRuleDeniedParameter =
com.pulumi.vault.inputs.GetPolicyDocumentRuleDeniedParameter.builder()
.key(key.let({ args0 -> args0 }))
.values(values.let({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GetPolicyDocumentRuleDeniedParameter].
*/
@PulumiTagMarker
public class GetPolicyDocumentRuleDeniedParameterBuilder internal constructor() {
private var key: String? = null
private var values: List? = null
/**
* @param value name of permitted or denied parameter.
*/
@JvmName("grftfjabqjongjsh")
public suspend fun key(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.key = mapped
}
/**
* @param value list of values what are permitted or denied by policy rule.
*/
@JvmName("fvrbtrefmnscftgb")
public suspend fun values(`value`: List) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.values = mapped
}
/**
* @param values list of values what are permitted or denied by policy rule.
*/
@JvmName("bkplqyasoeolapxu")
public suspend fun values(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> args0 })
this.values = mapped
}
internal fun build(): GetPolicyDocumentRuleDeniedParameter = GetPolicyDocumentRuleDeniedParameter(
key = key ?: throw PulumiNullFieldException("key"),
values = values ?: throw PulumiNullFieldException("values"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy