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