All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.kendra.cfnDataSource.DataSourceToIndexFieldMappingProperty.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 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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy