![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.networkmanager.kotlin.outputs.GetLinkResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.networkmanager.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property bandwidth The Bandwidth for the link.
* @property createdAt The date and time that the device was created.
* @property description The description of the link.
* @property linkArn The Amazon Resource Name (ARN) of the link.
* @property linkId The ID of the link.
* @property provider The provider of the link.
* @property state The state of the link.
* @property tags The tags for the link.
* @property type The type of the link.
*/
public data class GetLinkResult(
public val bandwidth: LinkBandwidth? = null,
public val createdAt: String? = null,
public val description: String? = null,
public val linkArn: String? = null,
public val linkId: String? = null,
public val provider: String? = null,
public val state: String? = null,
public val tags: List? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.networkmanager.outputs.GetLinkResult): GetLinkResult = GetLinkResult(
bandwidth = javaType.bandwidth().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkmanager.kotlin.outputs.LinkBandwidth.Companion.toKotlin(args0)
})
}).orElse(null),
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
linkArn = javaType.linkArn().map({ args0 -> args0 }).orElse(null),
linkId = javaType.linkId().map({ args0 -> args0 }).orElse(null),
provider = javaType.provider().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy