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