com.pulumi.nomad.kotlin.inputs.GetAclTokensPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-nomad-kotlin Show documentation
Show all versions of pulumi-nomad-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.nomad.kotlin.inputs
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.nomad.inputs.GetAclTokensPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getAclTokens.
* @property prefix `(string)` Optional prefix to filter the tokens.
*/
public data class GetAclTokensPlainArgs(
public val prefix: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.nomad.inputs.GetAclTokensPlainArgs =
com.pulumi.nomad.inputs.GetAclTokensPlainArgs.builder()
.prefix(prefix?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAclTokensPlainArgs].
*/
@PulumiTagMarker
public class GetAclTokensPlainArgsBuilder internal constructor() {
private var prefix: String? = null
/**
* @param value `(string)` Optional prefix to filter the tokens.
*/
@JvmName("iyxsxlxgsslglntd")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.prefix = mapped
}
internal fun build(): GetAclTokensPlainArgs = GetAclTokensPlainArgs(
prefix = prefix,
)
}