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