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

com.pulumi.awsnative.quicksight.kotlin.inputs.GetVpcConnectionPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.GetVpcConnectionPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property awsAccountId The AWS account ID of the account where you want to create a new VPC connection.
 * @property vpcConnectionId The ID of the VPC connection that you're creating. This ID is a unique identifier for each AWS Region in an AWS account.
 */
public data class GetVpcConnectionPlainArgs(
    public val awsAccountId: String,
    public val vpcConnectionId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.GetVpcConnectionPlainArgs =
        com.pulumi.awsnative.quicksight.inputs.GetVpcConnectionPlainArgs.builder()
            .awsAccountId(awsAccountId.let({ args0 -> args0 }))
            .vpcConnectionId(vpcConnectionId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetVpcConnectionPlainArgs].
 */
@PulumiTagMarker
public class GetVpcConnectionPlainArgsBuilder internal constructor() {
    private var awsAccountId: String? = null

    private var vpcConnectionId: String? = null

    /**
     * @param value The AWS account ID of the account where you want to create a new VPC connection.
     */
    @JvmName("jtpwlqpvmsfntbxt")
    public suspend fun awsAccountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.awsAccountId = mapped
    }

    /**
     * @param value The ID of the VPC connection that you're creating. This ID is a unique identifier for each AWS Region in an AWS account.
     */
    @JvmName("lkfnouxuycfogdwx")
    public suspend fun vpcConnectionId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.vpcConnectionId = mapped
    }

    internal fun build(): GetVpcConnectionPlainArgs = GetVpcConnectionPlainArgs(
        awsAccountId = awsAccountId ?: throw PulumiNullFieldException("awsAccountId"),
        vpcConnectionId = vpcConnectionId ?: throw PulumiNullFieldException("vpcConnectionId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy