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

com.pulumi.awsnative.iotanalytics.kotlin.inputs.PipelineMathArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iotanalytics.kotlin.inputs

import com.pulumi.awsnative.iotanalytics.inputs.PipelineMathArgs.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

/**
 *
 * @property attribute The name of the attribute that contains the result of the math operation.
 * @property math An expression that uses one or more existing attributes and must return an integer value.
 * @property name The name of the 'math' activity.
 * @property next The next activity in the pipeline.
 */
public data class PipelineMathArgs(
    public val attribute: Output,
    public val math: Output,
    public val name: Output,
    public val next: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.PipelineMathArgs =
        com.pulumi.awsnative.iotanalytics.inputs.PipelineMathArgs.builder()
            .attribute(attribute.applyValue({ args0 -> args0 }))
            .math(math.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .next(next?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipelineMathArgs].
 */
@PulumiTagMarker
public class PipelineMathArgsBuilder internal constructor() {
    private var attribute: Output? = null

    private var math: Output? = null

    private var name: Output? = null

    private var next: Output? = null

    /**
     * @param value The name of the attribute that contains the result of the math operation.
     */
    @JvmName("ogxjmuyohmujmlnm")
    public suspend fun attribute(`value`: Output) {
        this.attribute = value
    }

    /**
     * @param value An expression that uses one or more existing attributes and must return an integer value.
     */
    @JvmName("rgfjwbbuqrdgxcsj")
    public suspend fun math(`value`: Output) {
        this.math = value
    }

    /**
     * @param value The name of the 'math' activity.
     */
    @JvmName("carwfpoknbgsptqt")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The next activity in the pipeline.
     */
    @JvmName("jqmxqfdpotlynkys")
    public suspend fun next(`value`: Output) {
        this.next = value
    }

    /**
     * @param value The name of the attribute that contains the result of the math operation.
     */
    @JvmName("lhwlvopoursdbbkq")
    public suspend fun attribute(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attribute = mapped
    }

    /**
     * @param value An expression that uses one or more existing attributes and must return an integer value.
     */
    @JvmName("ntjimsxdfxdrfcvw")
    public suspend fun math(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.math = mapped
    }

    /**
     * @param value The name of the 'math' activity.
     */
    @JvmName("nybfigddcwpbstsd")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The next activity in the pipeline.
     */
    @JvmName("hupoqumuwvccpimx")
    public suspend fun next(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.next = mapped
    }

    internal fun build(): PipelineMathArgs = PipelineMathArgs(
        attribute = attribute ?: throw PulumiNullFieldException("attribute"),
        math = math ?: throw PulumiNullFieldException("math"),
        name = name ?: throw PulumiNullFieldException("name"),
        next = next,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy