
com.pulumi.awsnative.kendra.kotlin.outputs.DataSourceConfluencePageToIndexFieldMapping.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kendra.kotlin.outputs
import com.pulumi.awsnative.kendra.kotlin.enums.DataSourceConfluencePageFieldName
import kotlin.String
import kotlin.Suppress
/**
*
* @property dataSourceFieldName
* @property dateFieldFormat
* @property indexFieldName
*/
public data class DataSourceConfluencePageToIndexFieldMapping(
public val dataSourceFieldName: DataSourceConfluencePageFieldName,
public val dateFieldFormat: String? = null,
public val indexFieldName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kendra.outputs.DataSourceConfluencePageToIndexFieldMapping): DataSourceConfluencePageToIndexFieldMapping = DataSourceConfluencePageToIndexFieldMapping(
dataSourceFieldName = javaType.dataSourceFieldName().let({ args0 ->
com.pulumi.awsnative.kendra.kotlin.enums.DataSourceConfluencePageFieldName.Companion.toKotlin(args0)
}),
dateFieldFormat = javaType.dateFieldFormat().map({ args0 -> args0 }).orElse(null),
indexFieldName = javaType.indexFieldName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy