@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DTMFSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the DTMF input specifications.
Constructor and Description |
---|
DTMFSpecification() |
Modifier and Type | Method and Description |
---|---|
DTMFSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getDeletionCharacter()
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
|
String |
getEndCharacter()
The DTMF character that immediately ends input.
|
Integer |
getEndTimeoutMs()
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
|
Integer |
getMaxLength()
The maximum number of DTMF digits allowed in an utterance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeletionCharacter(String deletionCharacter)
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
|
void |
setEndCharacter(String endCharacter)
The DTMF character that immediately ends input.
|
void |
setEndTimeoutMs(Integer endTimeoutMs)
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
|
void |
setMaxLength(Integer maxLength)
The maximum number of DTMF digits allowed in an utterance.
|
String |
toString()
Returns a string representation of this object.
|
DTMFSpecification |
withDeletionCharacter(String deletionCharacter)
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
|
DTMFSpecification |
withEndCharacter(String endCharacter)
The DTMF character that immediately ends input.
|
DTMFSpecification |
withEndTimeoutMs(Integer endTimeoutMs)
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
|
DTMFSpecification |
withMaxLength(Integer maxLength)
The maximum number of DTMF digits allowed in an utterance.
|
public void setMaxLength(Integer maxLength)
The maximum number of DTMF digits allowed in an utterance.
maxLength
- The maximum number of DTMF digits allowed in an utterance.public Integer getMaxLength()
The maximum number of DTMF digits allowed in an utterance.
public DTMFSpecification withMaxLength(Integer maxLength)
The maximum number of DTMF digits allowed in an utterance.
maxLength
- The maximum number of DTMF digits allowed in an utterance.public void setEndTimeoutMs(Integer endTimeoutMs)
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
endTimeoutMs
- How long the bot should wait after the last DTMF character input before assuming that the input has
concluded.public Integer getEndTimeoutMs()
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
public DTMFSpecification withEndTimeoutMs(Integer endTimeoutMs)
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
endTimeoutMs
- How long the bot should wait after the last DTMF character input before assuming that the input has
concluded.public void setDeletionCharacter(String deletionCharacter)
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
deletionCharacter
- The DTMF character that clears the accumulated DTMF digits and immediately ends the input.public String getDeletionCharacter()
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
public DTMFSpecification withDeletionCharacter(String deletionCharacter)
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
deletionCharacter
- The DTMF character that clears the accumulated DTMF digits and immediately ends the input.public void setEndCharacter(String endCharacter)
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
endCharacter
- The DTMF character that immediately ends input. If the user does not press this character, the input ends
after the end timeout.public String getEndCharacter()
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
public DTMFSpecification withEndCharacter(String endCharacter)
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
endCharacter
- The DTMF character that immediately ends input. If the user does not press this character, the input ends
after the end timeout.public String toString()
toString
in class Object
Object.toString()
public DTMFSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.