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

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

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

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

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

/**
 *
 * @property attributes A list of the attributes to select from the message.
 * @property name The name of the 'selectAttributes' activity.
 * @property next The next activity in the pipeline.
 */
public data class PipelineSelectAttributesArgs(
    public val attributes: Output>,
    public val name: Output,
    public val next: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.PipelineSelectAttributesArgs =
        com.pulumi.awsnative.iotanalytics.inputs.PipelineSelectAttributesArgs.builder()
            .attributes(attributes.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .name(name.applyValue({ args0 -> args0 }))
            .next(next?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipelineSelectAttributesArgs].
 */
@PulumiTagMarker
public class PipelineSelectAttributesArgsBuilder internal constructor() {
    private var attributes: Output>? = null

    private var name: Output? = null

    private var next: Output? = null

    /**
     * @param value A list of the attributes to select from the message.
     */
    @JvmName("ieurfpcstxwwqfjc")
    public suspend fun attributes(`value`: Output>) {
        this.attributes = value
    }

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

    /**
     * @param values A list of the attributes to select from the message.
     */
    @JvmName("nwmsiycdrohaqhtq")
    public suspend fun attributes(values: List>) {
        this.attributes = Output.all(values)
    }

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

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

    /**
     * @param value A list of the attributes to select from the message.
     */
    @JvmName("nbilllpjwwjfjvhq")
    public suspend fun attributes(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attributes = mapped
    }

    /**
     * @param values A list of the attributes to select from the message.
     */
    @JvmName("iyrtrkebjdmsnvqe")
    public suspend fun attributes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attributes = mapped
    }

    /**
     * @param value The name of the 'selectAttributes' activity.
     */
    @JvmName("bxsmlqychhpymupn")
    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("iiuocxvugraqdduv")
    public suspend fun next(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.next = mapped
    }

    internal fun build(): PipelineSelectAttributesArgs = PipelineSelectAttributesArgs(
        attributes = attributes ?: throw PulumiNullFieldException("attributes"),
        name = name ?: throw PulumiNullFieldException("name"),
        next = next,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy