
com.pulumi.vault.kotlin.inputs.GetNamespacePlainArgs.kt Maven / Gradle / Ivy
@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.GetNamespacePlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getNamespace.
* @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).
* @property path The path of the namespace. Must not have a trailing `/`.
* If not specified or empty, path attributes are set for the current namespace
* based on the `namespace` arguments of the provider and this data source.
* Other path related attributes will be empty in this case.
*/
public data class GetNamespacePlainArgs(
public val namespace: String? = null,
public val path: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.inputs.GetNamespacePlainArgs =
com.pulumi.vault.inputs.GetNamespacePlainArgs.builder()
.namespace(namespace?.let({ args0 -> args0 }))
.path(path?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetNamespacePlainArgs].
*/
@PulumiTagMarker
public class GetNamespacePlainArgsBuilder internal constructor() {
private var namespace: String? = null
private var path: 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("nsuhqgpahivmryxi")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespace = mapped
}
/**
* @param value The path of the namespace. Must not have a trailing `/`.
* If not specified or empty, path attributes are set for the current namespace
* based on the `namespace` arguments of the provider and this data source.
* Other path related attributes will be empty in this case.
*/
@JvmName("veaxuxtxlfgisjpk")
public suspend fun path(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.path = mapped
}
internal fun build(): GetNamespacePlainArgs = GetNamespacePlainArgs(
namespace = namespace,
path = path,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy