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

com.pulumi.azurenative.iotoperations.kotlin.inputs.DataFlowBuiltInTransformationDatasetArgs.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.iotoperations.kotlin.inputs

import com.pulumi.azurenative.iotoperations.inputs.DataFlowBuiltInTransformationDatasetArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 * DataFlow BuiltIn Transformation dataset properties
 * @property description A user provided optional description of the dataset.
 * @property expression Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
 * @property inputs List of fields for enriching from the Broker State Store.
 * @property key The key of the dataset.
 * @property schemaRef The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
 */
public data class DataFlowBuiltInTransformationDatasetArgs(
    public val description: Output? = null,
    public val expression: Output? = null,
    public val inputs: Output>,
    public val key: Output,
    public val schemaRef: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.iotoperations.inputs.DataFlowBuiltInTransformationDatasetArgs =
        com.pulumi.azurenative.iotoperations.inputs.DataFlowBuiltInTransformationDatasetArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .expression(expression?.applyValue({ args0 -> args0 }))
            .inputs(inputs.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .key(key.applyValue({ args0 -> args0 }))
            .schemaRef(schemaRef?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataFlowBuiltInTransformationDatasetArgs].
 */
@PulumiTagMarker
public class DataFlowBuiltInTransformationDatasetArgsBuilder internal constructor() {
    private var description: Output? = null

    private var expression: Output? = null

    private var inputs: Output>? = null

    private var key: Output? = null

    private var schemaRef: Output? = null

    /**
     * @param value A user provided optional description of the dataset.
     */
    @JvmName("vhoswqgmlpcokvmf")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
     */
    @JvmName("igklpveqpfljchgc")
    public suspend fun expression(`value`: Output) {
        this.expression = value
    }

    /**
     * @param value List of fields for enriching from the Broker State Store.
     */
    @JvmName("bcgwrqptfqflifxq")
    public suspend fun inputs(`value`: Output>) {
        this.inputs = value
    }

    @JvmName("dbjittpedphlunwm")
    public suspend fun inputs(vararg values: Output) {
        this.inputs = Output.all(values.asList())
    }

    /**
     * @param values List of fields for enriching from the Broker State Store.
     */
    @JvmName("jdgmslcslliwtgim")
    public suspend fun inputs(values: List>) {
        this.inputs = Output.all(values)
    }

    /**
     * @param value The key of the dataset.
     */
    @JvmName("svoaktmengbdodpf")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
     */
    @JvmName("sdjreulfyuylslkl")
    public suspend fun schemaRef(`value`: Output) {
        this.schemaRef = value
    }

    /**
     * @param value A user provided optional description of the dataset.
     */
    @JvmName("xrcfbwauvqhgrsnr")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Condition to enrich data from Broker State Store. Example: $1 < 0 || $1 > $2 (Assuming inputs section $1 and $2 are provided)
     */
    @JvmName("ihwevklqkuvegrio")
    public suspend fun expression(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.expression = mapped
    }

    /**
     * @param value List of fields for enriching from the Broker State Store.
     */
    @JvmName("iedvxpqfjiofieuv")
    public suspend fun inputs(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.inputs = mapped
    }

    /**
     * @param values List of fields for enriching from the Broker State Store.
     */
    @JvmName("hluiuavhemnhpxrr")
    public suspend fun inputs(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.inputs = mapped
    }

    /**
     * @param value The key of the dataset.
     */
    @JvmName("utkuomhxwtvvysiw")
    public suspend fun key(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.key = mapped
    }

    /**
     * @param value The reference to the schema that describes the dataset. Allowed: JSON Schema/draft-7.
     */
    @JvmName("atuhgbamnhtrbrev")
    public suspend fun schemaRef(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.schemaRef = mapped
    }

    internal fun build(): DataFlowBuiltInTransformationDatasetArgs =
        DataFlowBuiltInTransformationDatasetArgs(
            description = description,
            expression = expression,
            inputs = inputs ?: throw PulumiNullFieldException("inputs"),
            key = key ?: throw PulumiNullFieldException("key"),
            schemaRef = schemaRef,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy