io.burkard.cdk.services.wisdom.CfnKnowledgeBaseProps.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.wisdom
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnKnowledgeBaseProps {
def apply(
name: String,
knowledgeBaseType: String,
description: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
renderingConfiguration: Option[software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.RenderingConfigurationProperty] = None,
serverSideEncryptionConfiguration: Option[software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.ServerSideEncryptionConfigurationProperty] = None,
sourceConfiguration: Option[software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.SourceConfigurationProperty] = None
): software.amazon.awscdk.services.wisdom.CfnKnowledgeBaseProps =
(new software.amazon.awscdk.services.wisdom.CfnKnowledgeBaseProps.Builder)
.name(name)
.knowledgeBaseType(knowledgeBaseType)
.description(description.orNull)
.tags(tags.map(_.asJava).orNull)
.renderingConfiguration(renderingConfiguration.orNull)
.serverSideEncryptionConfiguration(serverSideEncryptionConfiguration.orNull)
.sourceConfiguration(sourceConfiguration.orNull)
.build()
}