com.pulumi.aws.globalaccelerator.kotlin.inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs.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.globalaccelerator.kotlin.inputs
import com.pulumi.aws.globalaccelerator.inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs.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 kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property fromPort The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
* @property protocols The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either `"TCP"` or `"UDP"`.
* @property toPort The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
*/
public data class CustomRoutingEndpointGroupDestinationConfigurationArgs(
public val fromPort: Output,
public val protocols: Output>,
public val toPort: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.globalaccelerator.inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs =
com.pulumi.aws.globalaccelerator.inputs.CustomRoutingEndpointGroupDestinationConfigurationArgs.builder()
.fromPort(fromPort.applyValue({ args0 -> args0 }))
.protocols(protocols.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.toPort(toPort.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CustomRoutingEndpointGroupDestinationConfigurationArgs].
*/
@PulumiTagMarker
public class CustomRoutingEndpointGroupDestinationConfigurationArgsBuilder internal constructor() {
private var fromPort: Output? = null
private var protocols: Output>? = null
private var toPort: Output? = null
/**
* @param value The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
*/
@JvmName("xeqhwjrwtlfgmtqe")
public suspend fun fromPort(`value`: Output) {
this.fromPort = value
}
/**
* @param value The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either `"TCP"` or `"UDP"`.
*/
@JvmName("kgevafmrwmvjphrc")
public suspend fun protocols(`value`: Output>) {
this.protocols = value
}
@JvmName("uyuwnoqqpykhmwpy")
public suspend fun protocols(vararg values: Output) {
this.protocols = Output.all(values.asList())
}
/**
* @param values The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either `"TCP"` or `"UDP"`.
*/
@JvmName("sckoycrihgmgldqb")
public suspend fun protocols(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy