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

com.pulumi.awsnative.iottwinmaker.kotlin.inputs.EntityRelationshipArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iottwinmaker.kotlin.inputs

import com.pulumi.awsnative.iottwinmaker.inputs.EntityRelationshipArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * 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 EntityRelationshipArgs(
    public val relationshipType: Output? = null,
    public val targetComponentTypeId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iottwinmaker.inputs.EntityRelationshipArgs =
        com.pulumi.awsnative.iottwinmaker.inputs.EntityRelationshipArgs.builder()
            .relationshipType(relationshipType?.applyValue({ args0 -> args0 }))
            .targetComponentTypeId(targetComponentTypeId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [EntityRelationshipArgs].
 */
@PulumiTagMarker
public class EntityRelationshipArgsBuilder internal constructor() {
    private var relationshipType: Output? = null

    private var targetComponentTypeId: Output? = null

    /**
     * @param value The type of the relationship.
     */
    @JvmName("uusbgqakmwolubrl")
    public suspend fun relationshipType(`value`: Output) {
        this.relationshipType = value
    }

    /**
     * @param value The ID of the target component type associated with this relationship.
     */
    @JvmName("vtvaxdylctbabmbr")
    public suspend fun targetComponentTypeId(`value`: Output) {
        this.targetComponentTypeId = value
    }

    /**
     * @param value The type of the relationship.
     */
    @JvmName("mdgkasuxyuwlijxs")
    public suspend fun relationshipType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.relationshipType = mapped
    }

    /**
     * @param value The ID of the target component type associated with this relationship.
     */
    @JvmName("wxgmeuommcvikmsg")
    public suspend fun targetComponentTypeId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetComponentTypeId = mapped
    }

    internal fun build(): EntityRelationshipArgs = EntityRelationshipArgs(
        relationshipType = relationshipType,
        targetComponentTypeId = targetComponentTypeId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy