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