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

io.burkard.cdk.services.lex.CfnBotAlias.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 CfnBotAlias {

  def apply(
    internalResourceId: String,
    botAliasName: String,
    botId: String,
    description: Option[String] = None,
    botVersion: Option[String] = None,
    conversationLogSettings: Option[software.amazon.awscdk.services.lex.CfnBotAlias.ConversationLogSettingsProperty] = None,
    sentimentAnalysisSettings: Option[AnyRef] = None,
    botAliasLocaleSettings: Option[List[_]] = None,
    botAliasTags: Option[List[_]] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.lex.CfnBotAlias =
    software.amazon.awscdk.services.lex.CfnBotAlias.Builder
      .create(stackCtx, internalResourceId)
      .botAliasName(botAliasName)
      .botId(botId)
      .description(description.orNull)
      .botVersion(botVersion.orNull)
      .conversationLogSettings(conversationLogSettings.orNull)
      .sentimentAnalysisSettings(sentimentAnalysisSettings.orNull)
      .botAliasLocaleSettings(botAliasLocaleSettings.map(_.asJava).orNull)
      .botAliasTags(botAliasTags.map(_.asJava).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy