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

com.pulumi.azure.monitoring.kotlin.inputs.DataCollectionRuleStreamDeclarationColumnArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.monitoring.kotlin.inputs

import com.pulumi.azure.monitoring.inputs.DataCollectionRuleStreamDeclarationColumnArgs.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 column.
 * @property type The type of the column data. Possible values are `string`, `int`, `long`, `real`, `boolean`, `datetime`,and `dynamic`.
 */
public data class DataCollectionRuleStreamDeclarationColumnArgs(
    public val name: Output,
    public val type: Output,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.monitoring.inputs.DataCollectionRuleStreamDeclarationColumnArgs =
        com.pulumi.azure.monitoring.inputs.DataCollectionRuleStreamDeclarationColumnArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

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

    private var type: Output? = null

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

    /**
     * @param value The type of the column data. Possible values are `string`, `int`, `long`, `real`, `boolean`, `datetime`,and `dynamic`.
     */
    @JvmName("mexroaidbgixrfmb")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

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

    /**
     * @param value The type of the column data. Possible values are `string`, `int`, `long`, `real`, `boolean`, `datetime`,and `dynamic`.
     */
    @JvmName("utagqyejkbduvxec")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy