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

com.pulumi.aws.iot.kotlin.inputs.IndexingConfigurationThingGroupIndexingConfigurationCustomFieldArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.iot.kotlin.inputs

import com.pulumi.aws.iot.inputs.IndexingConfigurationThingGroupIndexingConfigurationCustomFieldArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property name The name of the field.
 * @property type The data type of the field. Valid values: `Number`, `String`, `Boolean`.
 */
public data class IndexingConfigurationThingGroupIndexingConfigurationCustomFieldArgs(
    public val name: Output? = null,
    public val type: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.iot.inputs.IndexingConfigurationThingGroupIndexingConfigurationCustomFieldArgs =
        com.pulumi.aws.iot.inputs.IndexingConfigurationThingGroupIndexingConfigurationCustomFieldArgs.builder()
            .name(name?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

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

    private var type: Output? = null

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

    /**
     * @param value The data type of the field. Valid values: `Number`, `String`, `Boolean`.
     */
    @JvmName("hbwbhougxxcmlwua")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The name of the field.
     */
    @JvmName("uwdripcydakolgpa")
    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 field. Valid values: `Number`, `String`, `Boolean`.
     */
    @JvmName("aekbtdjqoaqpjnjq")
    public suspend fun type(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): IndexingConfigurationThingGroupIndexingConfigurationCustomFieldArgs =
        IndexingConfigurationThingGroupIndexingConfigurationCustomFieldArgs(
            name = name,
            type = type,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy