com.pulumi.aws.ec2.kotlin.inputs.GetVpcIpamPoolsPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.ec2.kotlin.inputs
import com.pulumi.aws.ec2.inputs.GetVpcIpamPoolsPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getVpcIpamPools.
* @property filters Custom filter block as described below.
*/
public data class GetVpcIpamPoolsPlainArgs(
public val filters: List? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ec2.inputs.GetVpcIpamPoolsPlainArgs =
com.pulumi.aws.ec2.inputs.GetVpcIpamPoolsPlainArgs.builder()
.filters(
filters?.let({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [GetVpcIpamPoolsPlainArgs].
*/
@PulumiTagMarker
public class GetVpcIpamPoolsPlainArgsBuilder internal constructor() {
private var filters: List? = null
/**
* @param value Custom filter block as described below.
*/
@JvmName("oujlhbfcpxnftjyb")
public suspend fun filters(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.filters = mapped
}
/**
* @param argument Custom filter block as described below.
*/
@JvmName("yxgmuuhnnbusuoyy")
public suspend fun filters(argument: List Unit>) {
val toBeMapped = argument.toList().map {
GetVpcIpamPoolsFilterBuilder().applySuspend {
it()
}.build()
}
val mapped = toBeMapped
this.filters = mapped
}
/**
* @param argument Custom filter block as described below.
*/
@JvmName("fdbcyyqwjrkucfgn")
public suspend fun filters(vararg argument: suspend GetVpcIpamPoolsFilterBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
GetVpcIpamPoolsFilterBuilder().applySuspend {
it()
}.build()
}
val mapped = toBeMapped
this.filters = mapped
}
/**
* @param argument Custom filter block as described below.
*/
@JvmName("cfuuuymhuaxsjlta")
public suspend fun filters(argument: suspend GetVpcIpamPoolsFilterBuilder.() -> Unit) {
val toBeMapped = listOf(GetVpcIpamPoolsFilterBuilder().applySuspend { argument() }.build())
val mapped = toBeMapped
this.filters = mapped
}
/**
* @param values Custom filter block as described below.
*/
@JvmName("huywcuywchopblle")
public suspend fun filters(vararg values: GetVpcIpamPoolsFilter) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> args0 })
this.filters = mapped
}
internal fun build(): GetVpcIpamPoolsPlainArgs = GetVpcIpamPoolsPlainArgs(
filters = filters,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy