com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification 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.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification {
/**
* @return Configuration block for the settings on audio input. See `audio_specification`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification;
/**
* @return Configuration block for the settings on DTMF input. See `dtmf_specification`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification;
/**
* @return Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.
*
*/
private Integer startTimeoutMs;
private V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification() {}
/**
* @return Configuration block for the settings on audio input. See `audio_specification`.
*
*/
public Optional audioSpecification() {
return Optional.ofNullable(this.audioSpecification);
}
/**
* @return Configuration block for the settings on DTMF input. See `dtmf_specification`.
*
*/
public Optional dtmfSpecification() {
return Optional.ofNullable(this.dtmfSpecification);
}
/**
* @return Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.
*
*/
public Integer startTimeoutMs() {
return this.startTimeoutMs;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification;
private @Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification;
private Integer startTimeoutMs;
public Builder() {}
public Builder(V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification defaults) {
Objects.requireNonNull(defaults);
this.audioSpecification = defaults.audioSpecification;
this.dtmfSpecification = defaults.dtmfSpecification;
this.startTimeoutMs = defaults.startTimeoutMs;
}
@CustomType.Setter
public Builder audioSpecification(@Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationAudioSpecification audioSpecification) {
this.audioSpecification = audioSpecification;
return this;
}
@CustomType.Setter
public Builder dtmfSpecification(@Nullable V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecificationDtmfSpecification dtmfSpecification) {
this.dtmfSpecification = dtmfSpecification;
return this;
}
@CustomType.Setter
public Builder startTimeoutMs(Integer startTimeoutMs) {
if (startTimeoutMs == null) {
throw new MissingRequiredPropertyException("V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification", "startTimeoutMs");
}
this.startTimeoutMs = startTimeoutMs;
return this;
}
public V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification build() {
final var _resultValue = new V2modelsIntentConfirmationSettingPromptSpecificationPromptAttemptsSpecificationAudioAndDtmfInputSpecification();
_resultValue.audioSpecification = audioSpecification;
_resultValue.dtmfSpecification = dtmfSpecification;
_resultValue.startTimeoutMs = startTimeoutMs;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy