All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.kotlin.inputs.VpnGatewayConnectionRoutingPropagatedRouteTableArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.inputs

import com.pulumi.azure.network.inputs.VpnGatewayConnectionRoutingPropagatedRouteTableArgs.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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property labels A list of labels to assign to this route table.
 * @property routeTableIds A list of Route Table IDs to associated with this VPN Gateway Connection.
 */
public data class VpnGatewayConnectionRoutingPropagatedRouteTableArgs(
    public val labels: Output>? = null,
    public val routeTableIds: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.VpnGatewayConnectionRoutingPropagatedRouteTableArgs =
        com.pulumi.azure.network.inputs.VpnGatewayConnectionRoutingPropagatedRouteTableArgs.builder()
            .labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .routeTableIds(routeTableIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [VpnGatewayConnectionRoutingPropagatedRouteTableArgs].
 */
@PulumiTagMarker
public class VpnGatewayConnectionRoutingPropagatedRouteTableArgsBuilder internal constructor() {
    private var labels: Output>? = null

    private var routeTableIds: Output>? = null

    /**
     * @param value A list of labels to assign to this route table.
     */
    @JvmName("mwgdiguiqafibict")
    public suspend fun labels(`value`: Output>) {
        this.labels = value
    }

    @JvmName("bcliqpyaxolgvpvr")
    public suspend fun labels(vararg values: Output) {
        this.labels = Output.all(values.asList())
    }

    /**
     * @param values A list of labels to assign to this route table.
     */
    @JvmName("xbfgblkkdnwnnxam")
    public suspend fun labels(values: List>) {
        this.labels = Output.all(values)
    }

    /**
     * @param value A list of Route Table IDs to associated with this VPN Gateway Connection.
     */
    @JvmName("ilmnlliaiybmhrdx")
    public suspend fun routeTableIds(`value`: Output>) {
        this.routeTableIds = value
    }

    @JvmName("hsbipmpeejrrdjxr")
    public suspend fun routeTableIds(vararg values: Output) {
        this.routeTableIds = Output.all(values.asList())
    }

    /**
     * @param values A list of Route Table IDs to associated with this VPN Gateway Connection.
     */
    @JvmName("cnivvscndfromhqj")
    public suspend fun routeTableIds(values: List>) {
        this.routeTableIds = Output.all(values)
    }

    /**
     * @param value A list of labels to assign to this route table.
     */
    @JvmName("qkflwjwaeutplypk")
    public suspend fun labels(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.labels = mapped
    }

    /**
     * @param values A list of labels to assign to this route table.
     */
    @JvmName("fxcgrwmugxkdwimm")
    public suspend fun labels(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.labels = mapped
    }

    /**
     * @param value A list of Route Table IDs to associated with this VPN Gateway Connection.
     */
    @JvmName("iqaoeylaxhvmsjaf")
    public suspend fun routeTableIds(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.routeTableIds = mapped
    }

    /**
     * @param values A list of Route Table IDs to associated with this VPN Gateway Connection.
     */
    @JvmName("xeaikpauassxbvhg")
    public suspend fun routeTableIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.routeTableIds = mapped
    }

    internal fun build(): VpnGatewayConnectionRoutingPropagatedRouteTableArgs =
        VpnGatewayConnectionRoutingPropagatedRouteTableArgs(
            labels = labels,
            routeTableIds = routeTableIds ?: throw PulumiNullFieldException("routeTableIds"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy