![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.inputs.GetVpcPeeringPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.inputs
import com.pulumi.digitalocean.inputs.GetVpcPeeringPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getVpcPeering.
* @property id The unique identifier of an existing VPC Peering.
* @property name The name of an existing VPC Peering.
* @property vpcIds The list of VPC IDs involved in the peering.
*/
public data class GetVpcPeeringPlainArgs(
public val id: String? = null,
public val name: String? = null,
public val vpcIds: List? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.GetVpcPeeringPlainArgs =
com.pulumi.digitalocean.inputs.GetVpcPeeringPlainArgs.builder()
.id(id?.let({ args0 -> args0 }))
.name(name?.let({ args0 -> args0 }))
.vpcIds(vpcIds?.let({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GetVpcPeeringPlainArgs].
*/
@PulumiTagMarker
public class GetVpcPeeringPlainArgsBuilder internal constructor() {
private var id: String? = null
private var name: String? = null
private var vpcIds: List? = null
/**
* @param value The unique identifier of an existing VPC Peering.
*/
@JvmName("jdqhqsbnnwflkmae")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.id = mapped
}
/**
* @param value The name of an existing VPC Peering.
*/
@JvmName("iwopfvmjskrsaoid")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The list of VPC IDs involved in the peering.
*/
@JvmName("ouxchldkiceknewm")
public suspend fun vpcIds(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.vpcIds = mapped
}
/**
* @param values The list of VPC IDs involved in the peering.
*/
@JvmName("rerjwvtxbdvnckdk")
public suspend fun vpcIds(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> args0 })
this.vpcIds = mapped
}
internal fun build(): GetVpcPeeringPlainArgs = GetVpcPeeringPlainArgs(
id = id,
name = name,
vpcIds = vpcIds,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy