com.pulumi.aws.appmesh.kotlin.inputs.VirtualGatewaySpecArgs.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.VirtualGatewaySpecArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 backendDefaults Defaults for backends.
* @property listeners Listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
* @property logging Inbound and outbound access logging information for the virtual gateway.
*/
public data class VirtualGatewaySpecArgs(
public val backendDefaults: Output? = null,
public val listeners: Output>,
public val logging: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecArgs =
com.pulumi.aws.appmesh.inputs.VirtualGatewaySpecArgs.builder()
.backendDefaults(backendDefaults?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.listeners(
listeners.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.logging(logging?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [VirtualGatewaySpecArgs].
*/
@PulumiTagMarker
public class VirtualGatewaySpecArgsBuilder internal constructor() {
private var backendDefaults: Output? = null
private var listeners: Output>? = null
private var logging: Output? = null
/**
* @param value Defaults for backends.
*/
@JvmName("nwncdjwkhbjfjqnp")
public suspend fun backendDefaults(`value`: Output) {
this.backendDefaults = value
}
/**
* @param value Listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
*/
@JvmName("nbxlxlxnwujniyby")
public suspend fun listeners(`value`: Output>) {
this.listeners = value
}
@JvmName("bqpgohpuorpqhkjv")
public suspend fun listeners(vararg values: Output) {
this.listeners = Output.all(values.asList())
}
/**
* @param values Listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
*/
@JvmName("osjosqggmopbxrky")
public suspend fun listeners(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy