
com.pulumi.awsnative.networkmanager.kotlin.outputs.GetSiteResult.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.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property createdAt The date and time that the device was created.
* @property description The description of the site.
* @property location The location of the site.
* @property siteArn The Amazon Resource Name (ARN) of the site.
* @property siteId The ID of the site.
* @property state The state of the site.
* @property tags The tags for the site.
*/
public data class GetSiteResult(
public val createdAt: String? = null,
public val description: String? = null,
public val location: SiteLocation? = null,
public val siteArn: String? = null,
public val siteId: String? = null,
public val state: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.networkmanager.outputs.GetSiteResult): GetSiteResult = GetSiteResult(
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
location = javaType.location().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkmanager.kotlin.outputs.SiteLocation.Companion.toKotlin(args0)
})
}).orElse(null),
siteArn = javaType.siteArn().map({ args0 -> args0 }).orElse(null),
siteId = javaType.siteId().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)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy