io.burkard.cdk.services.kendra.cfnDataSource.ConfluenceSpaceConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.kendra.cfnDataSource
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ConfluenceSpaceConfigurationProperty {
def apply(
includeSpaces: Option[List[String]] = None,
spaceFieldMappings: Option[List[_]] = None,
crawlArchivedSpaces: Option[Boolean] = None,
excludeSpaces: Option[List[String]] = None,
crawlPersonalSpaces: Option[Boolean] = None
): software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceSpaceConfigurationProperty =
(new software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder)
.includeSpaces(includeSpaces.map(_.asJava).orNull)
.spaceFieldMappings(spaceFieldMappings.map(_.asJava).orNull)
.crawlArchivedSpaces(crawlArchivedSpaces.map(Boolean.box).orNull)
.excludeSpaces(excludeSpaces.map(_.asJava).orNull)
.crawlPersonalSpaces(crawlPersonalSpaces.map(Boolean.box).orNull)
.build()
}