@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.AnalyticsUtteranceAttributeName
public String getName()
An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.
AnalyticsUtteranceAttributeName
public 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.AnalyticsUtteranceAttributeName
public 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.AnalyticsUtteranceAttributeName
public String toString()
toString
in class Object
Object.toString()
public AnalyticsUtteranceAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.