
com.pulumi.awsnative.networkmanager.kotlin.LinkArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.networkmanager.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.networkmanager.LinkArgs.builder
import com.pulumi.awsnative.networkmanager.kotlin.inputs.LinkBandwidthArgs
import com.pulumi.awsnative.networkmanager.kotlin.inputs.LinkBandwidthArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::NetworkManager::Link type describes a link.
* @property bandwidth The Bandwidth for the link.
* @property description The description of the link.
* @property globalNetworkId The ID of the global network.
* @property provider The provider of the link.
* @property siteId The ID of the site
* @property tags The tags for the link.
* @property type The type of the link.
*/
public data class LinkArgs(
public val bandwidth: Output? = null,
public val description: Output? = null,
public val globalNetworkId: Output? = null,
public val provider: Output? = null,
public val siteId: Output? = null,
public val tags: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.networkmanager.LinkArgs =
com.pulumi.awsnative.networkmanager.LinkArgs.builder()
.bandwidth(bandwidth?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.description(description?.applyValue({ args0 -> args0 }))
.globalNetworkId(globalNetworkId?.applyValue({ args0 -> args0 }))
.provider(provider?.applyValue({ args0 -> args0 }))
.siteId(siteId?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinkArgs].
*/
@PulumiTagMarker
public class LinkArgsBuilder internal constructor() {
private var bandwidth: Output? = null
private var description: Output? = null
private var globalNetworkId: Output? = null
private var provider: Output? = null
private var siteId: Output? = null
private var tags: Output>? = null
private var type: Output? = null
/**
* @param value The Bandwidth for the link.
*/
@JvmName("opgfmlkygssstgre")
public suspend fun bandwidth(`value`: Output) {
this.bandwidth = value
}
/**
* @param value The description of the link.
*/
@JvmName("jyvcsloiwkqceeov")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The ID of the global network.
*/
@JvmName("loqpgkbcsrqmnosu")
public suspend fun globalNetworkId(`value`: Output) {
this.globalNetworkId = value
}
/**
* @param value The provider of the link.
*/
@JvmName("ycvpilfhiqtydppa")
public suspend fun provider(`value`: Output) {
this.provider = value
}
/**
* @param value The ID of the site
*/
@JvmName("nvccjrdgegbacvpf")
public suspend fun siteId(`value`: Output) {
this.siteId = value
}
/**
* @param value The tags for the link.
*/
@JvmName("pnugncdhceydvgol")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("betlorjpgcxqpqki")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags for the link.
*/
@JvmName("jcfnaxmykxqixhwg")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy