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

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

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

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

import com.pulumi.awsnative.iotanalytics.inputs.PipelineDatastoreArgs.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 datastoreName The name of the data store where processed messages are stored.
 * @property name The name of the datastore activity.
 */
public data class PipelineDatastoreArgs(
    public val datastoreName: Output,
    public val name: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.PipelineDatastoreArgs =
        com.pulumi.awsnative.iotanalytics.inputs.PipelineDatastoreArgs.builder()
            .datastoreName(datastoreName.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipelineDatastoreArgs].
 */
@PulumiTagMarker
public class PipelineDatastoreArgsBuilder internal constructor() {
    private var datastoreName: Output? = null

    private var name: Output? = null

    /**
     * @param value The name of the data store where processed messages are stored.
     */
    @JvmName("adfymgapqdfrakrp")
    public suspend fun datastoreName(`value`: Output) {
        this.datastoreName = value
    }

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

    /**
     * @param value The name of the data store where processed messages are stored.
     */
    @JvmName("dnqktmqnyircemkm")
    public suspend fun datastoreName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.datastoreName = mapped
    }

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

    internal fun build(): PipelineDatastoreArgs = PipelineDatastoreArgs(
        datastoreName = datastoreName ?: throw PulumiNullFieldException("datastoreName"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy