com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification 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.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification {
/**
* @return DTMF character that clears the accumulated DTMF digits and immediately ends the input.
*
*/
private String deletionCharacter;
/**
* @return DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
*
*/
private String endCharacter;
/**
* @return How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
*
*/
private Integer endTimeoutMs;
/**
* @return Maximum number of DTMF digits allowed in an utterance.
*
*/
private Integer maxLength;
private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification() {}
/**
* @return DTMF character that clears the accumulated DTMF digits and immediately ends the input.
*
*/
public String deletionCharacter() {
return this.deletionCharacter;
}
/**
* @return DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
*
*/
public String endCharacter() {
return this.endCharacter;
}
/**
* @return How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
*
*/
public Integer endTimeoutMs() {
return this.endTimeoutMs;
}
/**
* @return Maximum number of DTMF digits allowed in an utterance.
*
*/
public Integer maxLength() {
return this.maxLength;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String deletionCharacter;
private String endCharacter;
private Integer endTimeoutMs;
private Integer maxLength;
public Builder() {}
public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification defaults) {
Objects.requireNonNull(defaults);
this.deletionCharacter = defaults.deletionCharacter;
this.endCharacter = defaults.endCharacter;
this.endTimeoutMs = defaults.endTimeoutMs;
this.maxLength = defaults.maxLength;
}
@CustomType.Setter
public Builder deletionCharacter(String deletionCharacter) {
if (deletionCharacter == null) {
throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "deletionCharacter");
}
this.deletionCharacter = deletionCharacter;
return this;
}
@CustomType.Setter
public Builder endCharacter(String endCharacter) {
if (endCharacter == null) {
throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "endCharacter");
}
this.endCharacter = endCharacter;
return this;
}
@CustomType.Setter
public Builder endTimeoutMs(Integer endTimeoutMs) {
if (endTimeoutMs == null) {
throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "endTimeoutMs");
}
this.endTimeoutMs = endTimeoutMs;
return this;
}
@CustomType.Setter
public Builder maxLength(Integer maxLength) {
if (maxLength == null) {
throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification", "maxLength");
}
this.maxLength = maxLength;
return this;
}
public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification build() {
final var _resultValue = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification();
_resultValue.deletionCharacter = deletionCharacter;
_resultValue.endCharacter = endCharacter;
_resultValue.endTimeoutMs = endTimeoutMs;
_resultValue.maxLength = maxLength;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy