io.burkard.cdk.services.kendra.SearchProperty.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 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).getOrElse(java.lang.Boolean.FALSE))
.facetable(facetable.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.searchable(searchable.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.sortable(sortable.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.build()
}