com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification 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.util.Objects;
@CustomType
public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification {
/**
* @return Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
*
*/
private Integer endTimeoutMs;
/**
* @return Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
*
*/
private Integer maxLengthMs;
private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification() {}
/**
* @return Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
*
*/
public Integer endTimeoutMs() {
return this.endTimeoutMs;
}
/**
* @return Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
*
*/
public Integer maxLengthMs() {
return this.maxLengthMs;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer endTimeoutMs;
private Integer maxLengthMs;
public Builder() {}
public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification defaults) {
Objects.requireNonNull(defaults);
this.endTimeoutMs = defaults.endTimeoutMs;
this.maxLengthMs = defaults.maxLengthMs;
}
@CustomType.Setter
public Builder endTimeoutMs(Integer endTimeoutMs) {
if (endTimeoutMs == null) {
throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification", "endTimeoutMs");
}
this.endTimeoutMs = endTimeoutMs;
return this;
}
@CustomType.Setter
public Builder maxLengthMs(Integer maxLengthMs) {
if (maxLengthMs == null) {
throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification", "maxLengthMs");
}
this.maxLengthMs = maxLengthMs;
return this;
}
public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification build() {
final var _resultValue = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification();
_resultValue.endTimeoutMs = endTimeoutMs;
_resultValue.maxLengthMs = maxLengthMs;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy