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