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

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

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

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

import com.pulumi.azure.network.inputs.VirtualHubConnectionRoutingPropagatedRouteTableArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

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

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

    private var routeTableIds: Output>? = null

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

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

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

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

    @JvmName("agktwalbpocirtst")
    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 Virtual Hub Connection.
     */
    @JvmName("lclbublrtemxoauq")
    public suspend fun routeTableIds(values: List>) {
        this.routeTableIds = Output.all(values)
    }

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

    /**
     * @param values The list of labels to assign to this route table.
     */
    @JvmName("yqlhmykavjvcosjg")
    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 Virtual Hub Connection.
     */
    @JvmName("hhpdnjixxmorctit")
    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 Virtual Hub Connection.
     */
    @JvmName("alxaepigoyhywhjp")
    public suspend fun routeTableIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.routeTableIds = mapped
    }

    internal fun build(): VirtualHubConnectionRoutingPropagatedRouteTableArgs =
        VirtualHubConnectionRoutingPropagatedRouteTableArgs(
            labels = labels,
            routeTableIds = routeTableIds,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy