Class DTMFSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.DTMFSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DTMFSpecification.Builder,DTMFSpecification>
@Generated("software.amazon.awssdk:codegen") public final class DTMFSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DTMFSpecification.Builder,DTMFSpecification>
Specifies the DTMF input specifications.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDTMFSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DTMFSpecification.Builderbuilder()StringdeletionCharacter()The DTMF character that clears the accumulated DTMF digits and immediately ends the input.StringendCharacter()The DTMF character that immediately ends input.IntegerendTimeoutMs()How long the bot should wait after the last DTMF character input before assuming that the input has concluded.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxLength()The maximum number of DTMF digits allowed in an utterance.List<SdkField<?>>sdkFields()static Class<? extends DTMFSpecification.Builder>serializableBuilderClass()DTMFSpecification.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
maxLength
public final Integer maxLength()
The maximum number of DTMF digits allowed in an utterance.
- Returns:
- The maximum number of DTMF digits allowed in an utterance.
-
endTimeoutMs
public final Integer endTimeoutMs()
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
- Returns:
- How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
-
deletionCharacter
public final String deletionCharacter()
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
- Returns:
- The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
-
endCharacter
public final String endCharacter()
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
- Returns:
- The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
-
toBuilder
public DTMFSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DTMFSpecification.Builder,DTMFSpecification>
-
builder
public static DTMFSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends DTMFSpecification.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-