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