@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.AggregatedUtterancesSortAttribute
public String getAttribute()
The utterance attribute to sort by.
AggregatedUtterancesSortAttribute
public AggregatedUtterancesSortBy withAttribute(String attribute)
The utterance attribute to sort by.
attribute
- The utterance attribute to sort by.AggregatedUtterancesSortAttribute
public AggregatedUtterancesSortBy withAttribute(AggregatedUtterancesSortAttribute attribute)
The utterance attribute to sort by.
attribute
- The utterance attribute to sort by.AggregatedUtterancesSortAttribute
public 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.SortOrder
public String getOrder()
Specifies whether to sort the aggregated utterances in ascending or descending order.
SortOrder
public 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.SortOrder
public 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.SortOrder
public String toString()
toString
in class Object
Object.toString()
public AggregatedUtterancesSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.