com.pulumi.vault.kotlin.inputs.GetNamespacesPlainArgs.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.PulumiTagMarker
import com.pulumi.vault.inputs.GetNamespacesPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getNamespaces.
* @property namespace The namespace to provision the resource in.
* 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#namespace).
*/
public data class GetNamespacesPlainArgs(
public val namespace: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.inputs.GetNamespacesPlainArgs =
com.pulumi.vault.inputs.GetNamespacesPlainArgs.builder()
.namespace(namespace?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetNamespacesPlainArgs].
*/
@PulumiTagMarker
public class GetNamespacesPlainArgsBuilder internal constructor() {
private var namespace: String? = null
/**
* @param value The namespace to provision the resource in.
* 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#namespace).
*/
@JvmName("uiusgmviaxbxlrqj")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespace = mapped
}
internal fun build(): GetNamespacesPlainArgs = GetNamespacesPlainArgs(
namespace = namespace,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy