io.burkard.cdk.services.lex.cfnBot.IntentConfirmationSettingProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lex.cfnBot
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object IntentConfirmationSettingProperty {
def apply(
declinationResponse: software.amazon.awscdk.services.lex.CfnBot.ResponseSpecificationProperty,
promptSpecification: software.amazon.awscdk.services.lex.CfnBot.PromptSpecificationProperty,
isActive: Option[Boolean] = None
): software.amazon.awscdk.services.lex.CfnBot.IntentConfirmationSettingProperty =
(new software.amazon.awscdk.services.lex.CfnBot.IntentConfirmationSettingProperty.Builder)
.declinationResponse(declinationResponse)
.promptSpecification(promptSpecification)
.isActive(isActive.map(Boolean.box).orNull)
.build()
}