All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.nomad.kotlin.inputs.GetAclTokensPlainArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.4.0.0
Show newest version
@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,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy