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

com.pulumi.awsnative.appstream.kotlin.inputs.AppBlockBuilderVpcConfigArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.appstream.kotlin.inputs

import com.pulumi.awsnative.appstream.inputs.AppBlockBuilderVpcConfigArgs.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 The identifiers of the security groups for the fleet or image builder.
 * @property subnetIds The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
 */
public data class AppBlockBuilderVpcConfigArgs(
    public val securityGroupIds: Output>? = null,
    public val subnetIds: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.appstream.inputs.AppBlockBuilderVpcConfigArgs =
        com.pulumi.awsnative.appstream.inputs.AppBlockBuilderVpcConfigArgs.builder()
            .securityGroupIds(securityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .subnetIds(subnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var subnetIds: Output>? = null

    /**
     * @param value The identifiers of the security groups for the fleet or image builder.
     */
    @JvmName("fkulgijpohdodnwx")
    public suspend fun securityGroupIds(`value`: Output>) {
        this.securityGroupIds = value
    }

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

    /**
     * @param values The identifiers of the security groups for the fleet or image builder.
     */
    @JvmName("dksjnhjicpevakxm")
    public suspend fun securityGroupIds(values: List>) {
        this.securityGroupIds = Output.all(values)
    }

    /**
     * @param value The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
     */
    @JvmName("cxppxgdsaquhecmp")
    public suspend fun subnetIds(`value`: Output>) {
        this.subnetIds = value
    }

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

    /**
     * @param values The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
     */
    @JvmName("blsyltvqdhfhaeod")
    public suspend fun subnetIds(values: List>) {
        this.subnetIds = Output.all(values)
    }

    /**
     * @param value The identifiers of the security groups for the fleet or image builder.
     */
    @JvmName("bmyppvgrcwcddlpv")
    public suspend fun securityGroupIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param values The identifiers of the security groups for the fleet or image builder.
     */
    @JvmName("nywhyfpofbxvwena")
    public suspend fun securityGroupIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.securityGroupIds = mapped
    }

    /**
     * @param value The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
     */
    @JvmName("nfprtbmltwymnhxw")
    public suspend fun subnetIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    /**
     * @param values The identifiers of the subnets to which a network interface is attached from the fleet instance or image builder instance. Fleet instances use one or more subnets. Image builder instances use one subnet.
     */
    @JvmName("vtbkfvejywaeruqa")
    public suspend fun subnetIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetIds = mapped
    }

    internal fun build(): AppBlockBuilderVpcConfigArgs = AppBlockBuilderVpcConfigArgs(
        securityGroupIds = securityGroupIds,
        subnetIds = subnetIds,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy