io.burkard.cdk.services.lex.CfnBotVersionProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lex
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnBotVersionProps {
def apply(
botId: String,
botVersionLocaleSpecification: List[_],
description: Option[String] = None
): software.amazon.awscdk.services.lex.CfnBotVersionProps =
(new software.amazon.awscdk.services.lex.CfnBotVersionProps.Builder)
.botId(botId)
.botVersionLocaleSpecification(botVersionLocaleSpecification.asJava)
.description(description.orNull)
.build()
}