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

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

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

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

import com.pulumi.awsnative.iotanalytics.inputs.PipelineRemoveAttributesArgs.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 1-50 attributes to remove from the message.
 * @property name The name of the 'removeAttributes' activity.
 * @property next The next activity in the pipeline.
 */
public data class PipelineRemoveAttributesArgs(
    public val attributes: Output>,
    public val name: Output,
    public val next: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.PipelineRemoveAttributesArgs =
        com.pulumi.awsnative.iotanalytics.inputs.PipelineRemoveAttributesArgs.builder()
            .attributes(attributes.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .name(name.applyValue({ args0 -> args0 }))
            .next(next?.applyValue({ args0 -> args0 })).build()
}

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

    private var name: Output? = null

    private var next: Output? = null

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

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

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

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

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

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

    /**
     * @param values A list of 1-50 attributes to remove from the message.
     */
    @JvmName("sbnkuocjsefptbqt")
    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 'removeAttributes' activity.
     */
    @JvmName("kgnnhgbkqthlmaqj")
    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("iusychuptknfmiqp")
    public suspend fun next(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.next = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy