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

com.pulumi.awsnative.mediaconnect.kotlin.inputs.BridgeNetworkOutputArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.mediaconnect.kotlin.inputs

import com.pulumi.awsnative.mediaconnect.inputs.BridgeNetworkOutputArgs.builder
import com.pulumi.awsnative.mediaconnect.kotlin.enums.BridgeProtocolEnum
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.jvm.JvmName

/**
 * The output of the bridge. A network output is delivered to your premises.
 * @property ipAddress The network output IP Address.
 * @property name The network output name.
 * @property networkName The network output's gateway network name.
 * @property port The network output port.
 * @property protocol The network output protocol.
 * @property ttl The network output TTL.
 */
public data class BridgeNetworkOutputArgs(
    public val ipAddress: Output,
    public val name: Output,
    public val networkName: Output,
    public val port: Output,
    public val protocol: Output,
    public val ttl: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.mediaconnect.inputs.BridgeNetworkOutputArgs =
        com.pulumi.awsnative.mediaconnect.inputs.BridgeNetworkOutputArgs.builder()
            .ipAddress(ipAddress.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .networkName(networkName.applyValue({ args0 -> args0 }))
            .port(port.applyValue({ args0 -> args0 }))
            .protocol(protocol.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .ttl(ttl.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BridgeNetworkOutputArgs].
 */
@PulumiTagMarker
public class BridgeNetworkOutputArgsBuilder internal constructor() {
    private var ipAddress: Output? = null

    private var name: Output? = null

    private var networkName: Output? = null

    private var port: Output? = null

    private var protocol: Output? = null

    private var ttl: Output? = null

    /**
     * @param value The network output IP Address.
     */
    @JvmName("tffmuswshlnhqxpp")
    public suspend fun ipAddress(`value`: Output) {
        this.ipAddress = value
    }

    /**
     * @param value The network output name.
     */
    @JvmName("cxhmjfymisctmqts")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The network output's gateway network name.
     */
    @JvmName("kqbdvhewcedvnsvd")
    public suspend fun networkName(`value`: Output) {
        this.networkName = value
    }

    /**
     * @param value The network output port.
     */
    @JvmName("rssxxrdnoqhpogyo")
    public suspend fun port(`value`: Output) {
        this.port = value
    }

    /**
     * @param value The network output protocol.
     */
    @JvmName("efehxnntjjaixcqm")
    public suspend fun protocol(`value`: Output) {
        this.protocol = value
    }

    /**
     * @param value The network output TTL.
     */
    @JvmName("eytrqnhudtrggwyx")
    public suspend fun ttl(`value`: Output) {
        this.ttl = value
    }

    /**
     * @param value The network output IP Address.
     */
    @JvmName("bumrnfxyjyfsixtb")
    public suspend fun ipAddress(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipAddress = mapped
    }

    /**
     * @param value The network output name.
     */
    @JvmName("rvugbcmnwndnaopw")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The network output's gateway network name.
     */
    @JvmName("hfoyfiyaolnvapas")
    public suspend fun networkName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.networkName = mapped
    }

    /**
     * @param value The network output port.
     */
    @JvmName("fccyobekauuqxwul")
    public suspend fun port(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.port = mapped
    }

    /**
     * @param value The network output protocol.
     */
    @JvmName("crxxegsffldfeepw")
    public suspend fun protocol(`value`: BridgeProtocolEnum) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.protocol = mapped
    }

    /**
     * @param value The network output TTL.
     */
    @JvmName("eyojalinmwqwreib")
    public suspend fun ttl(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ttl = mapped
    }

    internal fun build(): BridgeNetworkOutputArgs = BridgeNetworkOutputArgs(
        ipAddress = ipAddress ?: throw PulumiNullFieldException("ipAddress"),
        name = name ?: throw PulumiNullFieldException("name"),
        networkName = networkName ?: throw PulumiNullFieldException("networkName"),
        port = port ?: throw PulumiNullFieldException("port"),
        protocol = protocol ?: throw PulumiNullFieldException("protocol"),
        ttl = ttl ?: throw PulumiNullFieldException("ttl"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy