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

com.pulumi.azurenative.logic.kotlin.inputs.FlowEndpointsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.logic.kotlin.inputs

import com.pulumi.azurenative.logic.inputs.FlowEndpointsArgs.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

/**
 * The flow endpoints configuration.
 * @property accessEndpointIpAddresses The access endpoint ip address.
 * @property outgoingIpAddresses The outgoing ip address.
 */
public data class FlowEndpointsArgs(
    public val accessEndpointIpAddresses: Output>? = null,
    public val outgoingIpAddresses: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.logic.inputs.FlowEndpointsArgs =
        com.pulumi.azurenative.logic.inputs.FlowEndpointsArgs.builder()
            .accessEndpointIpAddresses(
                accessEndpointIpAddresses?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .outgoingIpAddresses(
                outgoingIpAddresses?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

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

    private var outgoingIpAddresses: Output>? = null

    /**
     * @param value The access endpoint ip address.
     */
    @JvmName("ygwguwcfvotvqrjm")
    public suspend fun accessEndpointIpAddresses(`value`: Output>) {
        this.accessEndpointIpAddresses = value
    }

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

    /**
     * @param values The access endpoint ip address.
     */
    @JvmName("asppvewymkoyawxo")
    public suspend fun accessEndpointIpAddresses(values: List>) {
        this.accessEndpointIpAddresses = Output.all(values)
    }

    /**
     * @param value The outgoing ip address.
     */
    @JvmName("sxwktoqweqmadvue")
    public suspend fun outgoingIpAddresses(`value`: Output>) {
        this.outgoingIpAddresses = value
    }

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

    /**
     * @param values The outgoing ip address.
     */
    @JvmName("quaumingorfsovcw")
    public suspend fun outgoingIpAddresses(values: List>) {
        this.outgoingIpAddresses = Output.all(values)
    }

    /**
     * @param value The access endpoint ip address.
     */
    @JvmName("bxraheigmqynfqjb")
    public suspend fun accessEndpointIpAddresses(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessEndpointIpAddresses = mapped
    }

    /**
     * @param argument The access endpoint ip address.
     */
    @JvmName("eruvppvppmkfupdv")
    public suspend fun accessEndpointIpAddresses(argument: List Unit>) {
        val toBeMapped = argument.toList().map { IpAddressArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.accessEndpointIpAddresses = mapped
    }

    /**
     * @param argument The access endpoint ip address.
     */
    @JvmName("fcddpsrmrmlxgujo")
    public suspend fun accessEndpointIpAddresses(vararg argument: suspend IpAddressArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { IpAddressArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.accessEndpointIpAddresses = mapped
    }

    /**
     * @param argument The access endpoint ip address.
     */
    @JvmName("aomsgnrypfmurolm")
    public suspend fun accessEndpointIpAddresses(argument: suspend IpAddressArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(IpAddressArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.accessEndpointIpAddresses = mapped
    }

    /**
     * @param values The access endpoint ip address.
     */
    @JvmName("arbahqgegexafkom")
    public suspend fun accessEndpointIpAddresses(vararg values: IpAddressArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accessEndpointIpAddresses = mapped
    }

    /**
     * @param value The outgoing ip address.
     */
    @JvmName("toycsohqrbeycbsm")
    public suspend fun outgoingIpAddresses(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.outgoingIpAddresses = mapped
    }

    /**
     * @param argument The outgoing ip address.
     */
    @JvmName("gsukygutsruoouga")
    public suspend fun outgoingIpAddresses(argument: List Unit>) {
        val toBeMapped = argument.toList().map { IpAddressArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.outgoingIpAddresses = mapped
    }

    /**
     * @param argument The outgoing ip address.
     */
    @JvmName("sabbbvicywjujgrl")
    public suspend fun outgoingIpAddresses(vararg argument: suspend IpAddressArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { IpAddressArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.outgoingIpAddresses = mapped
    }

    /**
     * @param argument The outgoing ip address.
     */
    @JvmName("oqoilxwyeyypgywc")
    public suspend fun outgoingIpAddresses(argument: suspend IpAddressArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(IpAddressArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.outgoingIpAddresses = mapped
    }

    /**
     * @param values The outgoing ip address.
     */
    @JvmName("aoomxeggdcwvqkbl")
    public suspend fun outgoingIpAddresses(vararg values: IpAddressArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.outgoingIpAddresses = mapped
    }

    internal fun build(): FlowEndpointsArgs = FlowEndpointsArgs(
        accessEndpointIpAddresses = accessEndpointIpAddresses,
        outgoingIpAddresses = outgoingIpAddresses,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy