Interface DTMFSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DTMFSpecification.Builder,DTMFSpecification>,SdkBuilder<DTMFSpecification.Builder,DTMFSpecification>,SdkPojo
- Enclosing class:
- DTMFSpecification
public static interface DTMFSpecification.Builder extends SdkPojo, CopyableBuilder<DTMFSpecification.Builder,DTMFSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DTMFSpecification.BuilderdeletionCharacter(String deletionCharacter)The DTMF character that clears the accumulated DTMF digits and immediately ends the input.DTMFSpecification.BuilderendCharacter(String endCharacter)The DTMF character that immediately ends input.DTMFSpecification.BuilderendTimeoutMs(Integer endTimeoutMs)How long the bot should wait after the last DTMF character input before assuming that the input has concluded.DTMFSpecification.BuildermaxLength(Integer maxLength)The maximum number of DTMF digits allowed in an utterance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
maxLength
DTMFSpecification.Builder maxLength(Integer maxLength)
The maximum number of DTMF digits allowed in an utterance.
- Parameters:
maxLength- The maximum number of DTMF digits allowed in an utterance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimeoutMs
DTMFSpecification.Builder endTimeoutMs(Integer endTimeoutMs)
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
- Parameters:
endTimeoutMs- How long the bot should wait after the last DTMF character input before assuming that the input has concluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionCharacter
DTMFSpecification.Builder deletionCharacter(String deletionCharacter)
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
- Parameters:
deletionCharacter- The DTMF character that clears the accumulated DTMF digits and immediately ends the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endCharacter
DTMFSpecification.Builder endCharacter(String endCharacter)
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
- Parameters:
endCharacter- The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-