@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregatedUtterancesSortBy extends Object implements Serializable, Cloneable, StructuredPojo
Specifies attributes for sorting a list of utterances.
| Constructor and Description |
|---|
AggregatedUtterancesSortBy() |
| Modifier and Type | Method and Description |
|---|---|
AggregatedUtterancesSortBy |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The utterance attribute to sort by.
|
String |
getOrder()
Specifies whether to sort the aggregated utterances in ascending or descending order.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttribute(String attribute)
The utterance attribute to sort by.
|
void |
setOrder(String order)
Specifies whether to sort the aggregated utterances in ascending or descending order.
|
String |
toString()
Returns a string representation of this object.
|
AggregatedUtterancesSortBy |
withAttribute(AggregatedUtterancesSortAttribute attribute)
The utterance attribute to sort by.
|
AggregatedUtterancesSortBy |
withAttribute(String attribute)
The utterance attribute to sort by.
|
AggregatedUtterancesSortBy |
withOrder(SortOrder order)
Specifies whether to sort the aggregated utterances in ascending or descending order.
|
AggregatedUtterancesSortBy |
withOrder(String order)
Specifies whether to sort the aggregated utterances in ascending or descending order.
|
public void setAttribute(String attribute)
The utterance attribute to sort by.
attribute - The utterance attribute to sort by.AggregatedUtterancesSortAttributepublic String getAttribute()
The utterance attribute to sort by.
AggregatedUtterancesSortAttributepublic AggregatedUtterancesSortBy withAttribute(String attribute)
The utterance attribute to sort by.
attribute - The utterance attribute to sort by.AggregatedUtterancesSortAttributepublic AggregatedUtterancesSortBy withAttribute(AggregatedUtterancesSortAttribute attribute)
The utterance attribute to sort by.
attribute - The utterance attribute to sort by.AggregatedUtterancesSortAttributepublic void setOrder(String order)
Specifies whether to sort the aggregated utterances in ascending or descending order.
order - Specifies whether to sort the aggregated utterances in ascending or descending order.SortOrderpublic String getOrder()
Specifies whether to sort the aggregated utterances in ascending or descending order.
SortOrderpublic AggregatedUtterancesSortBy withOrder(String order)
Specifies whether to sort the aggregated utterances in ascending or descending order.
order - Specifies whether to sort the aggregated utterances in ascending or descending order.SortOrderpublic AggregatedUtterancesSortBy withOrder(SortOrder order)
Specifies whether to sort the aggregated utterances in ascending or descending order.
order - Specifies whether to sort the aggregated utterances in ascending or descending order.SortOrderpublic String toString()
toString in class ObjectObject.toString()public AggregatedUtterancesSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.