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

com.pulumi.azurenative.iotoperations.kotlin.inputs.DataFlowDestinationOperationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.iotoperations.kotlin.inputs

import com.pulumi.azurenative.iotoperations.inputs.DataFlowDestinationOperationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * DataFlow Destination Operation properties
 * @property dataDestination Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
 * @property endpointRef Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
 */
public data class DataFlowDestinationOperationArgs(
    public val dataDestination: Output,
    public val endpointRef: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.iotoperations.inputs.DataFlowDestinationOperationArgs =
        com.pulumi.azurenative.iotoperations.inputs.DataFlowDestinationOperationArgs.builder()
            .dataDestination(dataDestination.applyValue({ args0 -> args0 }))
            .endpointRef(endpointRef.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataFlowDestinationOperationArgs].
 */
@PulumiTagMarker
public class DataFlowDestinationOperationArgsBuilder internal constructor() {
    private var dataDestination: Output? = null

    private var endpointRef: Output? = null

    /**
     * @param value Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
     */
    @JvmName("kqiqyfobnjgytdgk")
    public suspend fun dataDestination(`value`: Output) {
        this.dataDestination = value
    }

    /**
     * @param value Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
     */
    @JvmName("oipmwfljqcbsllbs")
    public suspend fun endpointRef(`value`: Output) {
        this.endpointRef = value
    }

    /**
     * @param value Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
     */
    @JvmName("fwljyvpekvundieu")
    public suspend fun dataDestination(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataDestination = mapped
    }

    /**
     * @param value Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
     */
    @JvmName("fexhvedjdefeprnf")
    public suspend fun endpointRef(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endpointRef = mapped
    }

    internal fun build(): DataFlowDestinationOperationArgs = DataFlowDestinationOperationArgs(
        dataDestination = dataDestination ?: throw PulumiNullFieldException("dataDestination"),
        endpointRef = endpointRef ?: throw PulumiNullFieldException("endpointRef"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy