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

com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfluenceAttachmentToIndexFieldMapping.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.kendra.kotlin.outputs

import com.pulumi.awsnative.kendra.kotlin.enums.DataSourceConfluenceAttachmentFieldName
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dataSourceFieldName
 * @property dateFieldFormat
 * @property indexFieldName
 */
public data class DataSourceConfluenceAttachmentToIndexFieldMapping(
    public val dataSourceFieldName: DataSourceConfluenceAttachmentFieldName,
    public val dateFieldFormat: String? = null,
    public val indexFieldName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceConfluenceAttachmentToIndexFieldMapping): DataSourceConfluenceAttachmentToIndexFieldMapping =
            DataSourceConfluenceAttachmentToIndexFieldMapping(
                dataSourceFieldName = javaType.dataSourceFieldName().let({ args0 ->
                    com.pulumi.awsnative.kendra.kotlin.enums.DataSourceConfluenceAttachmentFieldName.Companion.toKotlin(args0)
                }),
                dateFieldFormat = javaType.dateFieldFormat().map({ args0 -> args0 }).orElse(null),
                indexFieldName = javaType.indexFieldName(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy