com.pulumi.awsnative.networkmanager.kotlin.LinkArgs.kt Maven / Gradle / Ivy
@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("agjpetvwpgkalddy")
public suspend fun bandwidth(`value`: Output) {
this.bandwidth = value
}
/**
* @param value The description of the link.
*/
@JvmName("atneedqilvssmqvn")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The ID of the global network.
*/
@JvmName("ypgkxoqxdjomivpf")
public suspend fun globalNetworkId(`value`: Output) {
this.globalNetworkId = value
}
/**
* @param value The provider of the link.
*/
@JvmName("wlklnryiohjrfxhc")
public suspend fun provider(`value`: Output) {
this.provider = value
}
/**
* @param value The ID of the site
*/
@JvmName("qklwyojstfbkgprp")
public suspend fun siteId(`value`: Output) {
this.siteId = value
}
/**
* @param value The tags for the link.
*/
@JvmName("hefpxplnekyucrbi")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ddmlkvrmnknapdjs")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags for the link.
*/
@JvmName("dtkalowgkjpexlbo")
public suspend fun tags(values: List