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

com.pulumi.awsnative.groundstation.kotlin.inputs.DataflowEndpointGroupConnectionDetailsArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.groundstation.kotlin.inputs

import com.pulumi.awsnative.groundstation.inputs.DataflowEndpointGroupConnectionDetailsArgs.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.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Egress address of AgentEndpoint with an optional mtu.
 * @property mtu Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
 * @property socketAddress A socket address.
 */
public data class DataflowEndpointGroupConnectionDetailsArgs(
    public val mtu: Output? = null,
    public val socketAddress: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.groundstation.inputs.DataflowEndpointGroupConnectionDetailsArgs =
        com.pulumi.awsnative.groundstation.inputs.DataflowEndpointGroupConnectionDetailsArgs.builder()
            .mtu(mtu?.applyValue({ args0 -> args0 }))
            .socketAddress(socketAddress?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DataflowEndpointGroupConnectionDetailsArgs].
 */
@PulumiTagMarker
public class DataflowEndpointGroupConnectionDetailsArgsBuilder internal constructor() {
    private var mtu: Output? = null

    private var socketAddress: Output? = null

    /**
     * @param value Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
     */
    @JvmName("njhqgioeuiaggfwn")
    public suspend fun mtu(`value`: Output) {
        this.mtu = value
    }

    /**
     * @param value A socket address.
     */
    @JvmName("jfqfpvmdyjvvwefh")
    public suspend fun socketAddress(`value`: Output) {
        this.socketAddress = value
    }

    /**
     * @param value Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
     */
    @JvmName("efthjufdlurcuuha")
    public suspend fun mtu(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mtu = mapped
    }

    /**
     * @param value A socket address.
     */
    @JvmName("lgnvtmifggfigqbg")
    public suspend fun socketAddress(`value`: DataflowEndpointGroupSocketAddressArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.socketAddress = mapped
    }

    /**
     * @param argument A socket address.
     */
    @JvmName("xhekinnckiuqvafb")
    public suspend fun socketAddress(argument: suspend DataflowEndpointGroupSocketAddressArgsBuilder.() -> Unit) {
        val toBeMapped = DataflowEndpointGroupSocketAddressArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.socketAddress = mapped
    }

    internal fun build(): DataflowEndpointGroupConnectionDetailsArgs =
        DataflowEndpointGroupConnectionDetailsArgs(
            mtu = mtu,
            socketAddress = socketAddress,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy