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