com.pulumi.aws.appmesh.kotlin.inputs.VirtualRouterSpecArgs.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.appmesh.kotlin.inputs
import com.pulumi.aws.appmesh.inputs.VirtualRouterSpecArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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
/**
*
* @property listeners Listeners that the virtual router is expected to receive inbound traffic from.
* Currently only one listener is supported per virtual router.
*/
public data class VirtualRouterSpecArgs(
public val listeners: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appmesh.inputs.VirtualRouterSpecArgs =
com.pulumi.aws.appmesh.inputs.VirtualRouterSpecArgs.builder()
.listeners(
listeners?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [VirtualRouterSpecArgs].
*/
@PulumiTagMarker
public class VirtualRouterSpecArgsBuilder internal constructor() {
private var listeners: Output>? = null
/**
* @param value Listeners that the virtual router is expected to receive inbound traffic from.
* Currently only one listener is supported per virtual router.
*/
@JvmName("rwwmfovwlegjvvsk")
public suspend fun listeners(`value`: Output>) {
this.listeners = value
}
@JvmName("sfyibpqouikipcql")
public suspend fun listeners(vararg values: Output) {
this.listeners = Output.all(values.asList())
}
/**
* @param values Listeners that the virtual router is expected to receive inbound traffic from.
* Currently only one listener is supported per virtual router.
*/
@JvmName("rjrcgpdvcntjidvx")
public suspend fun listeners(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy