io.burkard.cdk.services.kendra.cfnDataSource.ConfluencePageToIndexFieldMappingProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.kendra.cfnDataSource
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ConfluencePageToIndexFieldMappingProperty {
def apply(
dataSourceFieldName: String,
indexFieldName: String,
dateFieldFormat: Option[String] = None
): software.amazon.awscdk.services.kendra.CfnDataSource.ConfluencePageToIndexFieldMappingProperty =
(new software.amazon.awscdk.services.kendra.CfnDataSource.ConfluencePageToIndexFieldMappingProperty.Builder)
.dataSourceFieldName(dataSourceFieldName)
.indexFieldName(indexFieldName)
.dateFieldFormat(dateFieldFormat.orNull)
.build()
}