
com.pulumi.aws.lex.outputs.V2modelsSlotValueElicitationSettingSlotResolutionSetting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.lex.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class V2modelsSlotValueElicitationSettingSlotResolutionSetting {
/**
* @return Specifies whether assisted slot resolution is turned on for the slot or not.
* Valid values are `EnhancedFallback` or `Default`.
* If the value is `EnhancedFallback`, assisted slot resolution is activated when Amazon Lex defaults to the `AMAZON.FallbackIntent`.
* If the value is `Default`, assisted slot resolution is turned off.
*
*/
private String slotResolutionStrategy;
private V2modelsSlotValueElicitationSettingSlotResolutionSetting() {}
/**
* @return Specifies whether assisted slot resolution is turned on for the slot or not.
* Valid values are `EnhancedFallback` or `Default`.
* If the value is `EnhancedFallback`, assisted slot resolution is activated when Amazon Lex defaults to the `AMAZON.FallbackIntent`.
* If the value is `Default`, assisted slot resolution is turned off.
*
*/
public String slotResolutionStrategy() {
return this.slotResolutionStrategy;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsSlotValueElicitationSettingSlotResolutionSetting defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String slotResolutionStrategy;
public Builder() {}
public Builder(V2modelsSlotValueElicitationSettingSlotResolutionSetting defaults) {
Objects.requireNonNull(defaults);
this.slotResolutionStrategy = defaults.slotResolutionStrategy;
}
@CustomType.Setter
public Builder slotResolutionStrategy(String slotResolutionStrategy) {
if (slotResolutionStrategy == null) {
throw new MissingRequiredPropertyException("V2modelsSlotValueElicitationSettingSlotResolutionSetting", "slotResolutionStrategy");
}
this.slotResolutionStrategy = slotResolutionStrategy;
return this;
}
public V2modelsSlotValueElicitationSettingSlotResolutionSetting build() {
final var _resultValue = new V2modelsSlotValueElicitationSettingSlotResolutionSetting();
_resultValue.slotResolutionStrategy = slotResolutionStrategy;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy