@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UtteranceInputSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about input of an utterance.
Constructor and Description |
---|
UtteranceInputSpecification() |
Modifier and Type | Method and Description |
---|---|
UtteranceInputSpecification |
clone() |
boolean |
equals(Object obj) |
UtteranceAudioInputSpecification |
getAudioInput()
Contains information about the audio input for an utterance.
|
String |
getTextInput()
A text input transcription of the utterance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioInput(UtteranceAudioInputSpecification audioInput)
Contains information about the audio input for an utterance.
|
void |
setTextInput(String textInput)
A text input transcription of the utterance.
|
String |
toString()
Returns a string representation of this object.
|
UtteranceInputSpecification |
withAudioInput(UtteranceAudioInputSpecification audioInput)
Contains information about the audio input for an utterance.
|
UtteranceInputSpecification |
withTextInput(String textInput)
A text input transcription of the utterance.
|
public void setTextInput(String textInput)
A text input transcription of the utterance. It is only applicable for test-sets containing text data.
textInput
- A text input transcription of the utterance. It is only applicable for test-sets containing text data.public String getTextInput()
A text input transcription of the utterance. It is only applicable for test-sets containing text data.
public UtteranceInputSpecification withTextInput(String textInput)
A text input transcription of the utterance. It is only applicable for test-sets containing text data.
textInput
- A text input transcription of the utterance. It is only applicable for test-sets containing text data.public void setAudioInput(UtteranceAudioInputSpecification audioInput)
Contains information about the audio input for an utterance.
audioInput
- Contains information about the audio input for an utterance.public UtteranceAudioInputSpecification getAudioInput()
Contains information about the audio input for an utterance.
public UtteranceInputSpecification withAudioInput(UtteranceAudioInputSpecification audioInput)
Contains information about the audio input for an utterance.
audioInput
- Contains information about the audio input for an utterance.public String toString()
toString
in class Object
Object.toString()
public UtteranceInputSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.