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

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

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

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

import com.pulumi.aws.iot.inputs.IndexingConfigurationThingIndexingConfigurationCustomFieldArgs.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 IndexingConfigurationThingIndexingConfigurationCustomFieldArgs(
    public val name: Output? = null,
    public val type: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.iot.inputs.IndexingConfigurationThingIndexingConfigurationCustomFieldArgs =
        com.pulumi.aws.iot.inputs.IndexingConfigurationThingIndexingConfigurationCustomFieldArgs.builder()
            .name(name?.applyValue({ args0 -> args0 }))
            .type(type?.applyValue({ args0 -> args0 })).build()
}

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

    private var type: Output? = null

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy