io.burkard.cdk.services.lex.cfnBot.MessageProperty.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 MessageProperty {
def apply(
customPayload: Option[software.amazon.awscdk.services.lex.CfnBot.CustomPayloadProperty] = None,
imageResponseCard: Option[software.amazon.awscdk.services.lex.CfnBot.ImageResponseCardProperty] = None,
plainTextMessage: Option[software.amazon.awscdk.services.lex.CfnBot.PlainTextMessageProperty] = None,
ssmlMessage: Option[software.amazon.awscdk.services.lex.CfnBot.SSMLMessageProperty] = None
): software.amazon.awscdk.services.lex.CfnBot.MessageProperty =
(new software.amazon.awscdk.services.lex.CfnBot.MessageProperty.Builder)
.customPayload(customPayload.orNull)
.imageResponseCard(imageResponseCard.orNull)
.plainTextMessage(plainTextMessage.orNull)
.ssmlMessage(ssmlMessage.orNull)
.build()
}