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

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

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

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

import com.pulumi.awsnative.iotanalytics.inputs.PipelineDeviceRegistryEnrichArgs.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 is added to the message.
 * @property name The name of the 'deviceRegistryEnrich' activity.
 * @property next The next activity in the pipeline.
 * @property roleArn The ARN of the role that allows access to the device's registry information.
 * @property thingName The name of the IoT device whose registry information is added to the message.
 */
public data class PipelineDeviceRegistryEnrichArgs(
    public val attribute: Output,
    public val name: Output,
    public val next: Output? = null,
    public val roleArn: Output,
    public val thingName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.PipelineDeviceRegistryEnrichArgs =
        com.pulumi.awsnative.iotanalytics.inputs.PipelineDeviceRegistryEnrichArgs.builder()
            .attribute(attribute.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 }))
            .next(next?.applyValue({ args0 -> args0 }))
            .roleArn(roleArn.applyValue({ args0 -> args0 }))
            .thingName(thingName.applyValue({ args0 -> args0 })).build()
}

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

    private var name: Output? = null

    private var next: Output? = null

    private var roleArn: Output? = null

    private var thingName: Output? = null

    /**
     * @param value The name of the attribute that is added to the message.
     */
    @JvmName("syqfwkfrawuqjxek")
    public suspend fun attribute(`value`: Output) {
        this.attribute = value
    }

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

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

    /**
     * @param value The ARN of the role that allows access to the device's registry information.
     */
    @JvmName("fhmeyykqxgrdryay")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value The name of the IoT device whose registry information is added to the message.
     */
    @JvmName("nmpjkcrrkxstjvxc")
    public suspend fun thingName(`value`: Output) {
        this.thingName = value
    }

    /**
     * @param value The name of the attribute that is added to the message.
     */
    @JvmName("dgiuullweaeqoexc")
    public suspend fun attribute(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.attribute = mapped
    }

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

    /**
     * @param value The ARN of the role that allows access to the device's registry information.
     */
    @JvmName("uqubcavybyiwrgtm")
    public suspend fun roleArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    /**
     * @param value The name of the IoT device whose registry information is added to the message.
     */
    @JvmName("nhjvtehurxfwvdfq")
    public suspend fun thingName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.thingName = mapped
    }

    internal fun build(): PipelineDeviceRegistryEnrichArgs = PipelineDeviceRegistryEnrichArgs(
        attribute = attribute ?: throw PulumiNullFieldException("attribute"),
        name = name ?: throw PulumiNullFieldException("name"),
        next = next,
        roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
        thingName = thingName ?: throw PulumiNullFieldException("thingName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy