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

com.pulumi.awsnative.kendra.kotlin.inputs.DataSourceDocumentAttributeValueArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kendra.kotlin.inputs

import com.pulumi.awsnative.kendra.inputs.DataSourceDocumentAttributeValueArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dateValue A date expressed as an ISO 8601 string.
 * It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
 * @property longValue A long integer value.
 * @property stringListValue A list of strings. The default maximum length or number of strings is 10.
 * @property stringValue A string, such as "department".
 */
public data class DataSourceDocumentAttributeValueArgs(
    public val dateValue: Output? = null,
    public val longValue: Output? = null,
    public val stringListValue: Output>? = null,
    public val stringValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kendra.inputs.DataSourceDocumentAttributeValueArgs =
        com.pulumi.awsnative.kendra.inputs.DataSourceDocumentAttributeValueArgs.builder()
            .dateValue(dateValue?.applyValue({ args0 -> args0 }))
            .longValue(longValue?.applyValue({ args0 -> args0 }))
            .stringListValue(stringListValue?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .stringValue(stringValue?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSourceDocumentAttributeValueArgs].
 */
@PulumiTagMarker
public class DataSourceDocumentAttributeValueArgsBuilder internal constructor() {
    private var dateValue: Output? = null

    private var longValue: Output? = null

    private var stringListValue: Output>? = null

    private var stringValue: Output? = null

    /**
     * @param value A date expressed as an ISO 8601 string.
     * It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
     */
    @JvmName("ggeivhnkyhtyqyhi")
    public suspend fun dateValue(`value`: Output) {
        this.dateValue = value
    }

    /**
     * @param value A long integer value.
     */
    @JvmName("ythxpkuathpbgnrb")
    public suspend fun longValue(`value`: Output) {
        this.longValue = value
    }

    /**
     * @param value A list of strings. The default maximum length or number of strings is 10.
     */
    @JvmName("yhdddguosgluviwf")
    public suspend fun stringListValue(`value`: Output>) {
        this.stringListValue = value
    }

    @JvmName("choqpvcmaauolpax")
    public suspend fun stringListValue(vararg values: Output) {
        this.stringListValue = Output.all(values.asList())
    }

    /**
     * @param values A list of strings. The default maximum length or number of strings is 10.
     */
    @JvmName("dstccuniuevnjdsn")
    public suspend fun stringListValue(values: List>) {
        this.stringListValue = Output.all(values)
    }

    /**
     * @param value A string, such as "department".
     */
    @JvmName("uprclopesstccifm")
    public suspend fun stringValue(`value`: Output) {
        this.stringValue = value
    }

    /**
     * @param value A date expressed as an ISO 8601 string.
     * It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
     */
    @JvmName("mpfkkbsksekwksxc")
    public suspend fun dateValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dateValue = mapped
    }

    /**
     * @param value A long integer value.
     */
    @JvmName("ficjhalnjeyswuks")
    public suspend fun longValue(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.longValue = mapped
    }

    /**
     * @param value A list of strings. The default maximum length or number of strings is 10.
     */
    @JvmName("ngmmgskvgovatwkr")
    public suspend fun stringListValue(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringListValue = mapped
    }

    /**
     * @param values A list of strings. The default maximum length or number of strings is 10.
     */
    @JvmName("cjiojtkrhgiuurve")
    public suspend fun stringListValue(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.stringListValue = mapped
    }

    /**
     * @param value A string, such as "department".
     */
    @JvmName("ouspqcqfkmbxmtbg")
    public suspend fun stringValue(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.stringValue = mapped
    }

    internal fun build(): DataSourceDocumentAttributeValueArgs = DataSourceDocumentAttributeValueArgs(
        dateValue = dateValue,
        longValue = longValue,
        stringListValue = stringListValue,
        stringValue = stringValue,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy