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

com.pulumi.awsnative.ec2.kotlin.outputs.VerifiedAccessEndpointNetworkInterfaceOptions.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ec2.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 * The options for network-interface type endpoint.
 * @property networkInterfaceId The ID of the network interface.
 * @property port The IP port number.
 * @property protocol The IP protocol.
 */
public data class VerifiedAccessEndpointNetworkInterfaceOptions(
    public val networkInterfaceId: String? = null,
    public val port: Int? = null,
    public val protocol: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.VerifiedAccessEndpointNetworkInterfaceOptions): VerifiedAccessEndpointNetworkInterfaceOptions =
            VerifiedAccessEndpointNetworkInterfaceOptions(
                networkInterfaceId = javaType.networkInterfaceId().map({ args0 -> args0 }).orElse(null),
                port = javaType.port().map({ args0 -> args0 }).orElse(null),
                protocol = javaType.protocol().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy