io.burkard.cdk.services.lex.cfnBot.SlotValueSelectionSettingProperty.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 SlotValueSelectionSettingProperty {
def apply(
resolutionStrategy: String,
advancedRecognitionSetting: Option[software.amazon.awscdk.services.lex.CfnBot.AdvancedRecognitionSettingProperty] = None,
regexFilter: Option[software.amazon.awscdk.services.lex.CfnBot.SlotValueRegexFilterProperty] = None
): software.amazon.awscdk.services.lex.CfnBot.SlotValueSelectionSettingProperty =
(new software.amazon.awscdk.services.lex.CfnBot.SlotValueSelectionSettingProperty.Builder)
.resolutionStrategy(resolutionStrategy)
.advancedRecognitionSetting(advancedRecognitionSetting.orNull)
.regexFilter(regexFilter.orNull)
.build()
}