
com.pulumi.vault.pkiSecret.kotlin.inputs.GetBackendConfigEstPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.vault.pkiSecret.kotlin.inputs
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.pkiSecret.inputs.GetBackendConfigEstPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getBackendConfigEst.
* @property backend The path to the PKI secret backend to
* read the EST configuration from, with no leading or trailing `/`s.
* @property namespace The namespace of the target resource.
* The value should not contain leading or trailing forward slashes.
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
* *Available only for Vault Enterprise*.
*/
public data class GetBackendConfigEstPlainArgs(
public val backend: String,
public val namespace: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.pkiSecret.inputs.GetBackendConfigEstPlainArgs =
com.pulumi.vault.pkiSecret.inputs.GetBackendConfigEstPlainArgs.builder()
.backend(backend.let({ args0 -> args0 }))
.namespace(namespace?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetBackendConfigEstPlainArgs].
*/
@PulumiTagMarker
public class GetBackendConfigEstPlainArgsBuilder internal constructor() {
private var backend: String? = null
private var namespace: String? = null
/**
* @param value The path to the PKI secret backend to
* read the EST configuration from, with no leading or trailing `/`s.
*/
@JvmName("mtkncqvryksiroxa")
public suspend fun backend(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.backend = mapped
}
/**
* @param value The namespace of the target resource.
* The value should not contain leading or trailing forward slashes.
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault/index.html#namespace).
* *Available only for Vault Enterprise*.
*/
@JvmName("kpiedrlnmpyosbjn")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespace = mapped
}
internal fun build(): GetBackendConfigEstPlainArgs = GetBackendConfigEstPlainArgs(
backend = backend ?: throw PulumiNullFieldException("backend"),
namespace = namespace,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy