
com.pulumi.awsnative.iotsitewise.kotlin.outputs.GetAssetModelResult.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.iotsitewise.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property assetModelArn The ARN of the asset model, which has the following format.
* @property assetModelCompositeModels The composite asset models that are part of this asset model. Composite asset models are asset models that contain specific properties.
* @property assetModelDescription A description for the asset model.
* @property assetModelExternalId The external ID of the asset model.
* @property assetModelHierarchies The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. You can specify up to 10 hierarchies per asset model.
* @property assetModelId The ID of the asset model.
* @property assetModelName A unique, friendly name for the asset model.
* @property assetModelProperties The property definitions of the asset model. You can specify up to 200 properties per asset model.
* @property tags A list of key-value pairs that contain metadata for the asset model.
*/
public data class GetAssetModelResult(
public val assetModelArn: String? = null,
public val assetModelCompositeModels: List? = null,
public val assetModelDescription: String? = null,
public val assetModelExternalId: String? = null,
public val assetModelHierarchies: List? = null,
public val assetModelId: String? = null,
public val assetModelName: String? = null,
public val assetModelProperties: List? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.GetAssetModelResult): GetAssetModelResult = GetAssetModelResult(
assetModelArn = javaType.assetModelArn().map({ args0 -> args0 }).orElse(null),
assetModelCompositeModels = javaType.assetModelCompositeModels().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AssetModelCompositeModel.Companion.toKotlin(args0)
})
}),
assetModelDescription = javaType.assetModelDescription().map({ args0 -> args0 }).orElse(null),
assetModelExternalId = javaType.assetModelExternalId().map({ args0 -> args0 }).orElse(null),
assetModelHierarchies = javaType.assetModelHierarchies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AssetModelHierarchy.Companion.toKotlin(args0)
})
}),
assetModelId = javaType.assetModelId().map({ args0 -> args0 }).orElse(null),
assetModelName = javaType.assetModelName().map({ args0 -> args0 }).orElse(null),
assetModelProperties = javaType.assetModelProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotsitewise.kotlin.outputs.AssetModelProperty.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy