![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.nomad.kotlin.inputs.GetNodePoolsPlainArgs.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.GetNodePoolsPlainArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getNodePools.
* @property filter `(string)` - Specifies the [expression][nomad_api_filter] used to
* filter the results.
* @property prefix `(string)` - Specifies a string to filter node pools based on a name
* prefix.
*/
public data class GetNodePoolsPlainArgs(
public val filter: String? = null,
public val prefix: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.nomad.inputs.GetNodePoolsPlainArgs =
com.pulumi.nomad.inputs.GetNodePoolsPlainArgs.builder()
.filter(filter?.let({ args0 -> args0 }))
.prefix(prefix?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetNodePoolsPlainArgs].
*/
@PulumiTagMarker
public class GetNodePoolsPlainArgsBuilder internal constructor() {
private var filter: String? = null
private var prefix: String? = null
/**
* @param value `(string)` - Specifies the [expression][nomad_api_filter] used to
* filter the results.
*/
@JvmName("hymkgevlmdrqonid")
public suspend fun filter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.filter = mapped
}
/**
* @param value `(string)` - Specifies a string to filter node pools based on a name
* prefix.
*/
@JvmName("peclbrqjgpuouiat")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.prefix = mapped
}
internal fun build(): GetNodePoolsPlainArgs = GetNodePoolsPlainArgs(
filter = filter,
prefix = prefix,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy