@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotTypeSortBy extends Object implements Serializable, Cloneable, StructuredPojo
Specifies attributes for sorting a list of slot types.
| Constructor and Description |
|---|
SlotTypeSortBy() |
| Modifier and Type | Method and Description |
|---|---|
SlotTypeSortBy |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute to use to sort the list of slot types.
|
String |
getOrder()
The order to sort the list.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttribute(String attribute)
The attribute to use to sort the list of slot types.
|
void |
setOrder(String order)
The order to sort the list.
|
String |
toString()
Returns a string representation of this object.
|
SlotTypeSortBy |
withAttribute(SlotTypeSortAttribute attribute)
The attribute to use to sort the list of slot types.
|
SlotTypeSortBy |
withAttribute(String attribute)
The attribute to use to sort the list of slot types.
|
SlotTypeSortBy |
withOrder(SortOrder order)
The order to sort the list.
|
SlotTypeSortBy |
withOrder(String order)
The order to sort the list.
|
public void setAttribute(String attribute)
The attribute to use to sort the list of slot types.
attribute - The attribute to use to sort the list of slot types.SlotTypeSortAttributepublic String getAttribute()
The attribute to use to sort the list of slot types.
SlotTypeSortAttributepublic SlotTypeSortBy withAttribute(String attribute)
The attribute to use to sort the list of slot types.
attribute - The attribute to use to sort the list of slot types.SlotTypeSortAttributepublic SlotTypeSortBy withAttribute(SlotTypeSortAttribute attribute)
The attribute to use to sort the list of slot types.
attribute - The attribute to use to sort the list of slot types.SlotTypeSortAttributepublic void setOrder(String order)
The order to sort the list. You can say ascending or descending.
order - The order to sort the list. You can say ascending or descending.SortOrderpublic String getOrder()
The order to sort the list. You can say ascending or descending.
SortOrderpublic SlotTypeSortBy withOrder(String order)
The order to sort the list. You can say ascending or descending.
order - The order to sort the list. You can say ascending or descending.SortOrderpublic SlotTypeSortBy withOrder(SortOrder order)
The order to sort the list. You can say ascending or descending.
order - The order to sort the list. You can say ascending or descending.SortOrderpublic String toString()
toString in class ObjectObject.toString()public SlotTypeSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.