@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SampleUtterance extends Object implements Serializable, Cloneable, StructuredPojo
A sample utterance that invokes an intent or respond to a slot elicitation prompt.
Constructor and Description |
---|
SampleUtterance() |
Modifier and Type | Method and Description |
---|---|
SampleUtterance |
clone() |
boolean |
equals(Object obj) |
String |
getUtterance()
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUtterance(String utterance)
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
|
String |
toString()
Returns a string representation of this object.
|
SampleUtterance |
withUtterance(String utterance)
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
|
public void setUtterance(String utterance)
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
utterance
- The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.public String getUtterance()
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
public SampleUtterance withUtterance(String utterance)
The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.
utterance
- The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.public String toString()
toString
in class Object
Object.toString()
public SampleUtterance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.