Interface AudioAndDTMFInputSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudioAndDTMFInputSpecification.Builder,,AudioAndDTMFInputSpecification> SdkBuilder<AudioAndDTMFInputSpecification.Builder,,AudioAndDTMFInputSpecification> SdkPojo
- Enclosing class:
AudioAndDTMFInputSpecification
@Mutable
@NotThreadSafe
public static interface AudioAndDTMFInputSpecification.Builder
extends SdkPojo, CopyableBuilder<AudioAndDTMFInputSpecification.Builder,AudioAndDTMFInputSpecification>
-
Method Summary
Modifier and TypeMethodDescriptionaudioSpecification(Consumer<AudioSpecification.Builder> audioSpecification) Specifies the settings on audio input.audioSpecification(AudioSpecification audioSpecification) Specifies the settings on audio input.dtmfSpecification(Consumer<DTMFSpecification.Builder> dtmfSpecification) Specifies the settings on DTMF input.dtmfSpecification(DTMFSpecification dtmfSpecification) Specifies the settings on DTMF input.startTimeoutMs(Integer startTimeoutMs) Time for which a bot waits before assuming that the customer isn't going to speak or press a key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
startTimeoutMs
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.
- Parameters:
startTimeoutMs- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioSpecification
Specifies the settings on audio input.
- Parameters:
audioSpecification- Specifies the settings on audio input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioSpecification
default AudioAndDTMFInputSpecification.Builder audioSpecification(Consumer<AudioSpecification.Builder> audioSpecification) Specifies the settings on audio input.
This is a convenience method that creates an instance of theAudioSpecification.Builderavoiding the need to create one manually viaAudioSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaudioSpecification(AudioSpecification).- Parameters:
audioSpecification- a consumer that will call methods onAudioSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dtmfSpecification
Specifies the settings on DTMF input.
- Parameters:
dtmfSpecification- Specifies the settings on DTMF input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dtmfSpecification
default AudioAndDTMFInputSpecification.Builder dtmfSpecification(Consumer<DTMFSpecification.Builder> dtmfSpecification) Specifies the settings on DTMF input.
This is a convenience method that creates an instance of theDTMFSpecification.Builderavoiding the need to create one manually viaDTMFSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todtmfSpecification(DTMFSpecification).- Parameters:
dtmfSpecification- a consumer that will call methods onDTMFSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-