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

com.pulumi.awsnative.codebuild.kotlin.inputs.FleetVpcConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.codebuild.kotlin.inputs

import com.pulumi.awsnative.codebuild.inputs.FleetVpcConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property securityGroupIds A list of one or more security groups IDs in your Amazon VPC.
 * @property subnets A list of one or more subnet IDs in your Amazon VPC.
 * @property vpcId The ID of the Amazon VPC.
 */
public data class FleetVpcConfigArgs(
    public val securityGroupIds: Output>? = null,
    public val subnets: Output>? = null,
    public val vpcId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.codebuild.inputs.FleetVpcConfigArgs =
        com.pulumi.awsnative.codebuild.inputs.FleetVpcConfigArgs.builder()
            .securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .subnets(subnets?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FleetVpcConfigArgs].
 */
@PulumiTagMarker
public class FleetVpcConfigArgsBuilder internal constructor() {
    private var securityGroupIds: Output>? = null

    private var subnets: Output>? = null

    private var vpcId: Output? = null

    /**
     * @param value A list of one or more security groups IDs in your Amazon VPC.
     */
    @JvmName("qgyspnhqsewjebfh")
    public suspend fun securityGroupIds(`value`: Output>) {
        this.securityGroupIds = value
    }

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

    /**
     * @param values A list of one or more security groups IDs in your Amazon VPC.
     */
    @JvmName("nagxllmlsndewrbi")
    public suspend fun securityGroupIds(values: List>) {
        this.securityGroupIds = Output.all(values)
    }

    /**
     * @param value A list of one or more subnet IDs in your Amazon VPC.
     */
    @JvmName("ymldsopamheilkca")
    public suspend fun subnets(`value`: Output>) {
        this.subnets = value
    }

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

    /**
     * @param values A list of one or more subnet IDs in your Amazon VPC.
     */
    @JvmName("jmusjqauxuhopxpr")
    public suspend fun subnets(values: List>) {
        this.subnets = Output.all(values)
    }

    /**
     * @param value The ID of the Amazon VPC.
     */
    @JvmName("ebpnlxnunqadhtgw")
    public suspend fun vpcId(`value`: Output) {
        this.vpcId = value
    }

    /**
     * @param value A list of one or more security groups IDs in your Amazon VPC.
     */
    @JvmName("emcxjlrxdqjgmuhb")
    public suspend fun securityGroupIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param values A list of one or more security groups IDs in your Amazon VPC.
     */
    @JvmName("vcepwairqwajweqi")
    public suspend fun securityGroupIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param value A list of one or more subnet IDs in your Amazon VPC.
     */
    @JvmName("nlmyaciisjuilrxx")
    public suspend fun subnets(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnets = mapped
    }

    /**
     * @param values A list of one or more subnet IDs in your Amazon VPC.
     */
    @JvmName("pfcsjhivarjxakot")
    public suspend fun subnets(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnets = mapped
    }

    /**
     * @param value The ID of the Amazon VPC.
     */
    @JvmName("jilaydsgteawdqfd")
    public suspend fun vpcId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.vpcId = mapped
    }

    internal fun build(): FleetVpcConfigArgs = FleetVpcConfigArgs(
        securityGroupIds = securityGroupIds,
        subnets = subnets,
        vpcId = vpcId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy