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

io.burkard.cdk.services.kendra.cfnIndex.SearchProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.kendra.cfnIndex

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SearchProperty {

  def apply(
    displayable: Option[Boolean] = None,
    facetable: Option[Boolean] = None,
    searchable: Option[Boolean] = None,
    sortable: Option[Boolean] = None
  ): software.amazon.awscdk.services.kendra.CfnIndex.SearchProperty =
    (new software.amazon.awscdk.services.kendra.CfnIndex.SearchProperty.Builder)
      .displayable(displayable.map(Boolean.box).orNull)
      .facetable(facetable.map(Boolean.box).orNull)
      .searchable(searchable.map(Boolean.box).orNull)
      .sortable(sortable.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy