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