@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsUtteranceAttribute extends Object implements Serializable, Cloneable, StructuredPojo
An object that specifies the last used intent at the time of the utterance as an attribute to return.
| Constructor and Description |
|---|
AnalyticsUtteranceAttribute() |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsUtteranceAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getName()
An attribute to return.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
An attribute to return.
|
String |
toString()
Returns a string representation of this object.
|
AnalyticsUtteranceAttribute |
withName(AnalyticsUtteranceAttributeName name)
An attribute to return.
|
AnalyticsUtteranceAttribute |
withName(String name)
An attribute to return.
|
public void setName(String name)
An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.
name - An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.AnalyticsUtteranceAttributeNamepublic String getName()
An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.
AnalyticsUtteranceAttributeNamepublic AnalyticsUtteranceAttribute withName(String name)
An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.
name - An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.AnalyticsUtteranceAttributeNamepublic AnalyticsUtteranceAttribute withName(AnalyticsUtteranceAttributeName name)
An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.
name - An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.AnalyticsUtteranceAttributeNamepublic String toString()
toString in class ObjectObject.toString()public AnalyticsUtteranceAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.