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

com.pulumi.awsnative.forecast.kotlin.inputs.DatasetAttributesItemPropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.forecast.kotlin.inputs

import com.pulumi.awsnative.forecast.inputs.DatasetAttributesItemPropertiesArgs.builder
import com.pulumi.awsnative.forecast.kotlin.enums.DatasetAttributesItemPropertiesAttributeType
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 attributeName Name of the dataset field
 * @property attributeType Data type of the field
 */
public data class DatasetAttributesItemPropertiesArgs(
    public val attributeName: Output? = null,
    public val attributeType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.forecast.inputs.DatasetAttributesItemPropertiesArgs =
        com.pulumi.awsnative.forecast.inputs.DatasetAttributesItemPropertiesArgs.builder()
            .attributeName(attributeName?.applyValue({ args0 -> args0 }))
            .attributeType(attributeType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DatasetAttributesItemPropertiesArgs].
 */
@PulumiTagMarker
public class DatasetAttributesItemPropertiesArgsBuilder internal constructor() {
    private var attributeName: Output? = null

    private var attributeType: Output? = null

    /**
     * @param value Name of the dataset field
     */
    @JvmName("omftglcxgvvapwia")
    public suspend fun attributeName(`value`: Output) {
        this.attributeName = value
    }

    /**
     * @param value Data type of the field
     */
    @JvmName("krhoeaaagpypccbg")
    public suspend fun attributeType(`value`: Output) {
        this.attributeType = value
    }

    /**
     * @param value Name of the dataset field
     */
    @JvmName("rdybuhddldsnaslp")
    public suspend fun attributeName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributeName = mapped
    }

    /**
     * @param value Data type of the field
     */
    @JvmName("rnjrjetgrasyulne")
    public suspend fun attributeType(`value`: DatasetAttributesItemPropertiesAttributeType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributeType = mapped
    }

    internal fun build(): DatasetAttributesItemPropertiesArgs = DatasetAttributesItemPropertiesArgs(
        attributeName = attributeName,
        attributeType = attributeType,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy