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