@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudioSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the audio input specifications.
Constructor and Description |
---|
AudioSpecification() |
Modifier and Type | Method and Description |
---|---|
AudioSpecification |
clone() |
boolean |
equals(Object obj) |
Integer |
getEndTimeoutMs()
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
|
Integer |
getMaxLengthMs()
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTimeoutMs(Integer endTimeoutMs)
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
|
void |
setMaxLengthMs(Integer maxLengthMs)
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
|
String |
toString()
Returns a string representation of this object.
|
AudioSpecification |
withEndTimeoutMs(Integer endTimeoutMs)
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
|
AudioSpecification |
withMaxLengthMs(Integer maxLengthMs)
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
|
public void setMaxLengthMs(Integer maxLengthMs)
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
maxLengthMs
- Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to
application.public Integer getMaxLengthMs()
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
public AudioSpecification withMaxLengthMs(Integer maxLengthMs)
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
maxLengthMs
- Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to
application.public void setEndTimeoutMs(Integer endTimeoutMs)
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
endTimeoutMs
- Time for which a bot waits after the customer stops speaking to assume the utterance is finished.public Integer getEndTimeoutMs()
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
public AudioSpecification withEndTimeoutMs(Integer endTimeoutMs)
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
endTimeoutMs
- Time for which a bot waits after the customer stops speaking to assume the utterance is finished.public String toString()
toString
in class Object
Object.toString()
public AudioSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.