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

com.pulumi.azurenative.machinelearning.kotlin.inputs.GraphEdgeArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.machinelearning.kotlin.inputs

import com.pulumi.azurenative.machinelearning.inputs.GraphEdgeArgs.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

/**
 * Defines an edge within the web service's graph.
 * @property sourceNodeId The source graph node's identifier.
 * @property sourcePortId The identifier of the source node's port that the edge connects from.
 * @property targetNodeId The destination graph node's identifier.
 * @property targetPortId The identifier of the destination node's port that the edge connects into.
 */
public data class GraphEdgeArgs(
    public val sourceNodeId: Output? = null,
    public val sourcePortId: Output? = null,
    public val targetNodeId: Output? = null,
    public val targetPortId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearning.inputs.GraphEdgeArgs =
        com.pulumi.azurenative.machinelearning.inputs.GraphEdgeArgs.builder()
            .sourceNodeId(sourceNodeId?.applyValue({ args0 -> args0 }))
            .sourcePortId(sourcePortId?.applyValue({ args0 -> args0 }))
            .targetNodeId(targetNodeId?.applyValue({ args0 -> args0 }))
            .targetPortId(targetPortId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GraphEdgeArgs].
 */
@PulumiTagMarker
public class GraphEdgeArgsBuilder internal constructor() {
    private var sourceNodeId: Output? = null

    private var sourcePortId: Output? = null

    private var targetNodeId: Output? = null

    private var targetPortId: Output? = null

    /**
     * @param value The source graph node's identifier.
     */
    @JvmName("erfmiseknwcchoms")
    public suspend fun sourceNodeId(`value`: Output) {
        this.sourceNodeId = value
    }

    /**
     * @param value The identifier of the source node's port that the edge connects from.
     */
    @JvmName("wkhyokkaxfhsiauw")
    public suspend fun sourcePortId(`value`: Output) {
        this.sourcePortId = value
    }

    /**
     * @param value The destination graph node's identifier.
     */
    @JvmName("gmpnycuqeqvuqfao")
    public suspend fun targetNodeId(`value`: Output) {
        this.targetNodeId = value
    }

    /**
     * @param value The identifier of the destination node's port that the edge connects into.
     */
    @JvmName("kqltqveebocesqmg")
    public suspend fun targetPortId(`value`: Output) {
        this.targetPortId = value
    }

    /**
     * @param value The source graph node's identifier.
     */
    @JvmName("fwhanxhfvuewacvq")
    public suspend fun sourceNodeId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceNodeId = mapped
    }

    /**
     * @param value The identifier of the source node's port that the edge connects from.
     */
    @JvmName("mpsvflvhfqblpcdn")
    public suspend fun sourcePortId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourcePortId = mapped
    }

    /**
     * @param value The destination graph node's identifier.
     */
    @JvmName("ootgiyloivmqlnxq")
    public suspend fun targetNodeId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetNodeId = mapped
    }

    /**
     * @param value The identifier of the destination node's port that the edge connects into.
     */
    @JvmName("ukfiresqtsenxfgs")
    public suspend fun targetPortId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetPortId = mapped
    }

    internal fun build(): GraphEdgeArgs = GraphEdgeArgs(
        sourceNodeId = sourceNodeId,
        sourcePortId = sourcePortId,
        targetNodeId = targetNodeId,
        targetPortId = targetPortId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy