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