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

com.pulumi.awsnative.kendra.kotlin.inputs.DataSourceConfluenceBlogToIndexFieldMappingArgs.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.DataSourceConfluenceBlogToIndexFieldMappingArgs.builder
import com.pulumi.awsnative.kendra.kotlin.enums.DataSourceConfluenceBlogFieldName
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 dataSourceFieldName
 * @property dateFieldFormat
 * @property indexFieldName
 */
public data class DataSourceConfluenceBlogToIndexFieldMappingArgs(
    public val dataSourceFieldName: Output,
    public val dateFieldFormat: Output? = null,
    public val indexFieldName: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kendra.inputs.DataSourceConfluenceBlogToIndexFieldMappingArgs =
        com.pulumi.awsnative.kendra.inputs.DataSourceConfluenceBlogToIndexFieldMappingArgs.builder()
            .dataSourceFieldName(
                dataSourceFieldName.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .dateFieldFormat(dateFieldFormat?.applyValue({ args0 -> args0 }))
            .indexFieldName(indexFieldName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSourceConfluenceBlogToIndexFieldMappingArgs].
 */
@PulumiTagMarker
public class DataSourceConfluenceBlogToIndexFieldMappingArgsBuilder internal constructor() {
    private var dataSourceFieldName: Output? = null

    private var dateFieldFormat: Output? = null

    private var indexFieldName: Output? = null

    /**
     * @param value
     */
    @JvmName("oifhsjdbjkfgqvoe")
    public suspend fun dataSourceFieldName(`value`: Output) {
        this.dataSourceFieldName = value
    }

    /**
     * @param value
     */
    @JvmName("mkvkopjnxhcarbmk")
    public suspend fun dateFieldFormat(`value`: Output) {
        this.dateFieldFormat = value
    }

    /**
     * @param value
     */
    @JvmName("mtywnarmodivlbqb")
    public suspend fun indexFieldName(`value`: Output) {
        this.indexFieldName = value
    }

    /**
     * @param value
     */
    @JvmName("cotwdwjlghqsbaqe")
    public suspend fun dataSourceFieldName(`value`: DataSourceConfluenceBlogFieldName) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataSourceFieldName = mapped
    }

    /**
     * @param value
     */
    @JvmName("oaqrxoxmhaptlbqf")
    public suspend fun dateFieldFormat(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dateFieldFormat = mapped
    }

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

    internal fun build(): DataSourceConfluenceBlogToIndexFieldMappingArgs =
        DataSourceConfluenceBlogToIndexFieldMappingArgs(
            dataSourceFieldName = dataSourceFieldName ?: throw PulumiNullFieldException("dataSourceFieldName"),
            dateFieldFormat = dateFieldFormat,
            indexFieldName = indexFieldName ?: throw PulumiNullFieldException("indexFieldName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy