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