io.burkard.cdk.services.kendra.ConfluenceSpaceToIndexFieldMappingProperty.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 ConfluenceSpaceToIndexFieldMappingProperty {
def apply(
dataSourceFieldName: String,
indexFieldName: String,
dateFieldFormat: Option[String] = None
): software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty =
(new software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty.Builder)
.dataSourceFieldName(dataSourceFieldName)
.indexFieldName(indexFieldName)
.dateFieldFormat(dateFieldFormat.orNull)
.build()
}