com.pulumi.awsnative.networkmanager.kotlin.LinkAssociationArgs.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.networkmanager.LinkAssociationArgs.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.jvm.JvmName
/**
* The AWS::NetworkManager::LinkAssociation type associates a link to a device. The device and link must be in the same global network and the same site.
* @property deviceId The ID of the device
* @property globalNetworkId The ID of the global network.
* @property linkId The ID of the link
*/
public data class LinkAssociationArgs(
public val deviceId: Output? = null,
public val globalNetworkId: Output? = null,
public val linkId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.networkmanager.LinkAssociationArgs =
com.pulumi.awsnative.networkmanager.LinkAssociationArgs.builder()
.deviceId(deviceId?.applyValue({ args0 -> args0 }))
.globalNetworkId(globalNetworkId?.applyValue({ args0 -> args0 }))
.linkId(linkId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinkAssociationArgs].
*/
@PulumiTagMarker
public class LinkAssociationArgsBuilder internal constructor() {
private var deviceId: Output? = null
private var globalNetworkId: Output? = null
private var linkId: Output? = null
/**
* @param value The ID of the device
*/
@JvmName("eiglaeuifvoxhpxx")
public suspend fun deviceId(`value`: Output) {
this.deviceId = value
}
/**
* @param value The ID of the global network.
*/
@JvmName("pimqykdldsydylfb")
public suspend fun globalNetworkId(`value`: Output) {
this.globalNetworkId = value
}
/**
* @param value The ID of the link
*/
@JvmName("pyjmstviikypdiot")
public suspend fun linkId(`value`: Output) {
this.linkId = value
}
/**
* @param value The ID of the device
*/
@JvmName("htumkwshsecjecqg")
public suspend fun deviceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deviceId = mapped
}
/**
* @param value The ID of the global network.
*/
@JvmName("wmwruitttyrdqsrh")
public suspend fun globalNetworkId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.globalNetworkId = mapped
}
/**
* @param value The ID of the link
*/
@JvmName("dulcvgmdnhojwrja")
public suspend fun linkId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.linkId = mapped
}
internal fun build(): LinkAssociationArgs = LinkAssociationArgs(
deviceId = deviceId,
globalNetworkId = globalNetworkId,
linkId = linkId,
)
}