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

com.pulumi.aws.verifiedaccess.kotlin.inputs.EndpointNetworkInterfaceOptionsArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.verifiedaccess.kotlin.inputs

import com.pulumi.aws.verifiedaccess.inputs.EndpointNetworkInterfaceOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property networkInterfaceId
 * @property port
 * @property protocol
 */
public data class EndpointNetworkInterfaceOptionsArgs(
    public val networkInterfaceId: Output? = null,
    public val port: Output? = null,
    public val protocol: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.verifiedaccess.inputs.EndpointNetworkInterfaceOptionsArgs =
        com.pulumi.aws.verifiedaccess.inputs.EndpointNetworkInterfaceOptionsArgs.builder()
            .networkInterfaceId(networkInterfaceId?.applyValue({ args0 -> args0 }))
            .port(port?.applyValue({ args0 -> args0 }))
            .protocol(protocol?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EndpointNetworkInterfaceOptionsArgs].
 */
@PulumiTagMarker
public class EndpointNetworkInterfaceOptionsArgsBuilder internal constructor() {
    private var networkInterfaceId: Output? = null

    private var port: Output? = null

    private var protocol: Output? = null

    /**
     * @param value
     */
    @JvmName("mwtiqmlipxfrmqii")
    public suspend fun networkInterfaceId(`value`: Output) {
        this.networkInterfaceId = value
    }

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

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

    /**
     * @param value
     */
    @JvmName("kaoqnarilwrjcsyi")
    public suspend fun networkInterfaceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.networkInterfaceId = mapped
    }

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

    /**
     * @param value
     */
    @JvmName("dkkukalcxayhflho")
    public suspend fun protocol(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.protocol = mapped
    }

    internal fun build(): EndpointNetworkInterfaceOptionsArgs = EndpointNetworkInterfaceOptionsArgs(
        networkInterfaceId = networkInterfaceId,
        port = port,
        protocol = protocol,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy