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

com.pulumi.nomad.kotlin.inputs.GetAclRolesPlainArgs.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.3.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.GetAclRolesPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getAclRoles.
 * @property prefix `(string)` An optional string to filter ACL Roles based on ID
 * prefix. If not provided, all policies are returned.
 */
public data class GetAclRolesPlainArgs(
    public val prefix: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.nomad.inputs.GetAclRolesPlainArgs =
        com.pulumi.nomad.inputs.GetAclRolesPlainArgs.builder()
            .prefix(prefix?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAclRolesPlainArgs].
 */
@PulumiTagMarker
public class GetAclRolesPlainArgsBuilder internal constructor() {
    private var prefix: String? = null

    /**
     * @param value `(string)` An optional string to filter ACL Roles based on ID
     * prefix. If not provided, all policies are returned.
     */
    @JvmName("cgoqjibqhijsfdqq")
    public suspend fun prefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.prefix = mapped
    }

    internal fun build(): GetAclRolesPlainArgs = GetAclRolesPlainArgs(
        prefix = prefix,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy