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

com.pulumi.awsnative.groundstation.kotlin.outputs.DataflowEndpointGroupConnectionDetails.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.groundstation.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * 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 DataflowEndpointGroupConnectionDetails(
    public val mtu: Int? = null,
    public val socketAddress: DataflowEndpointGroupSocketAddress? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.groundstation.outputs.DataflowEndpointGroupConnectionDetails): DataflowEndpointGroupConnectionDetails = DataflowEndpointGroupConnectionDetails(
            mtu = javaType.mtu().map({ args0 -> args0 }).orElse(null),
            socketAddress = javaType.socketAddress().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.groundstation.kotlin.outputs.DataflowEndpointGroupSocketAddress.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy