All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy