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

com.pulumi.awsnative.ec2.kotlin.inputs.VerifiedAccessEndpointLoadBalancerOptionsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.VerifiedAccessEndpointLoadBalancerOptionsArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 * The load balancer details if creating the AWS Verified Access endpoint as load-balancertype.
 * @property loadBalancerArn The ARN of the load balancer.
 * @property port The IP port number.
 * @property protocol The IP protocol.
 * @property subnetIds The IDs of the subnets.
 */
public data class VerifiedAccessEndpointLoadBalancerOptionsArgs(
    public val loadBalancerArn: Output? = null,
    public val port: Output? = null,
    public val protocol: Output? = null,
    public val subnetIds: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.VerifiedAccessEndpointLoadBalancerOptionsArgs =
        com.pulumi.awsnative.ec2.inputs.VerifiedAccessEndpointLoadBalancerOptionsArgs.builder()
            .loadBalancerArn(loadBalancerArn?.applyValue({ args0 -> args0 }))
            .port(port?.applyValue({ args0 -> args0 }))
            .protocol(protocol?.applyValue({ args0 -> args0 }))
            .subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [VerifiedAccessEndpointLoadBalancerOptionsArgs].
 */
@PulumiTagMarker
public class VerifiedAccessEndpointLoadBalancerOptionsArgsBuilder internal constructor() {
    private var loadBalancerArn: Output? = null

    private var port: Output? = null

    private var protocol: Output? = null

    private var subnetIds: Output>? = null

    /**
     * @param value The ARN of the load balancer.
     */
    @JvmName("ygfqgvlsbehflaui")
    public suspend fun loadBalancerArn(`value`: Output) {
        this.loadBalancerArn = value
    }

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

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

    /**
     * @param value The IDs of the subnets.
     */
    @JvmName("espfgvikjhcniuiu")
    public suspend fun subnetIds(`value`: Output>) {
        this.subnetIds = value
    }

    @JvmName("hwxtvhtgplgywwhv")
    public suspend fun subnetIds(vararg values: Output) {
        this.subnetIds = Output.all(values.asList())
    }

    /**
     * @param values The IDs of the subnets.
     */
    @JvmName("lyfyoeepgnyuysgj")
    public suspend fun subnetIds(values: List>) {
        this.subnetIds = Output.all(values)
    }

    /**
     * @param value The ARN of the load balancer.
     */
    @JvmName("wmkswtcmvitylnrb")
    public suspend fun loadBalancerArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loadBalancerArn = mapped
    }

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

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

    /**
     * @param value The IDs of the subnets.
     */
    @JvmName("beiamhwfspykjxkh")
    public suspend fun subnetIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    /**
     * @param values The IDs of the subnets.
     */
    @JvmName("nmcwscmbvkabophv")
    public suspend fun subnetIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    internal fun build(): VerifiedAccessEndpointLoadBalancerOptionsArgs =
        VerifiedAccessEndpointLoadBalancerOptionsArgs(
            loadBalancerArn = loadBalancerArn,
            port = port,
            protocol = protocol,
            subnetIds = subnetIds,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy