All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iotsitewise.kotlin.outputs.AssetHierarchy.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotsitewise.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A hierarchy specifies allowed parent/child asset relationships.
 * @property childAssetId The ID of the child asset to be associated.
 * @property externalId String-friendly customer provided external ID
 * @property id Customer provided actual UUID for property
 * @property logicalId The LogicalID of a hierarchy in the parent asset's model.
 */
public data class AssetHierarchy(
    public val childAssetId: String,
    public val externalId: String? = null,
    public val id: String? = null,
    public val logicalId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotsitewise.outputs.AssetHierarchy): AssetHierarchy = AssetHierarchy(
            childAssetId = javaType.childAssetId(),
            externalId = javaType.externalId().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            logicalId = javaType.logicalId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy