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

io.burkard.cdk.services.kendra.DocumentMetadataConfigurationProperty.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 DocumentMetadataConfigurationProperty {

  def apply(
    name: String,
    `type`: String,
    search: Option[software.amazon.awscdk.services.kendra.CfnIndex.SearchProperty] = None,
    relevance: Option[software.amazon.awscdk.services.kendra.CfnIndex.RelevanceProperty] = None
  ): software.amazon.awscdk.services.kendra.CfnIndex.DocumentMetadataConfigurationProperty =
    (new software.amazon.awscdk.services.kendra.CfnIndex.DocumentMetadataConfigurationProperty.Builder)
      .name(name)
      .`type`(`type`)
      .search(search.orNull)
      .relevance(relevance.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy