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

com.pulumi.azure.iot.kotlin.inputs.TimeSeriesInsightsReferenceDataSetKeyPropertyArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.iot.kotlin.inputs

import com.pulumi.azure.iot.inputs.TimeSeriesInsightsReferenceDataSetKeyPropertyArgs.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 name The name of the key property. Changing this forces a new resource to be created.
 * @property type The data type of the key property. Valid values include `Bool`, `DateTime`, `Double`, `String`. Changing this forces a new resource to be created.
 */
public data class TimeSeriesInsightsReferenceDataSetKeyPropertyArgs(
    public val name: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.iot.inputs.TimeSeriesInsightsReferenceDataSetKeyPropertyArgs =
        com.pulumi.azure.iot.inputs.TimeSeriesInsightsReferenceDataSetKeyPropertyArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TimeSeriesInsightsReferenceDataSetKeyPropertyArgs].
 */
@PulumiTagMarker
public class TimeSeriesInsightsReferenceDataSetKeyPropertyArgsBuilder internal constructor() {
    private var name: Output? = null

    private var type: Output? = null

    /**
     * @param value The name of the key property. Changing this forces a new resource to be created.
     */
    @JvmName("netpefnymbbulpwx")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The data type of the key property. Valid values include `Bool`, `DateTime`, `Double`, `String`. Changing this forces a new resource to be created.
     */
    @JvmName("wliaqkgytjholnoc")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The name of the key property. Changing this forces a new resource to be created.
     */
    @JvmName("vvmfuqkbdiuuully")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The data type of the key property. Valid values include `Bool`, `DateTime`, `Double`, `String`. Changing this forces a new resource to be created.
     */
    @JvmName("ycifpgktjpdiwxib")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): TimeSeriesInsightsReferenceDataSetKeyPropertyArgs =
        TimeSeriesInsightsReferenceDataSetKeyPropertyArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            type = type ?: throw PulumiNullFieldException("type"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy