
com.pulumi.awsnative.iottwinmaker.kotlin.outputs.EntityRelationship.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.iottwinmaker.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* The type of the relationship.
* @property relationshipType The type of the relationship.
* @property targetComponentTypeId The ID of the target component type associated with this relationship.
*/
public data class EntityRelationship(
public val relationshipType: String? = null,
public val targetComponentTypeId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iottwinmaker.outputs.EntityRelationship): EntityRelationship = EntityRelationship(
relationshipType = javaType.relationshipType().map({ args0 -> args0 }).orElse(null),
targetComponentTypeId = javaType.targetComponentTypeId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy