@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The criteria used to sort.
Constructor and Description |
---|
SortCriteria() |
Modifier and Type | Method and Description |
---|---|
SortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the attribute to sort on.
|
String |
getOrderBy()
The sort order, ascending or descending.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the attribute to sort on.
|
void |
setOrderBy(String orderBy)
The sort order, ascending or descending.
|
String |
toString()
Returns a string representation of this object.
|
SortCriteria |
withAttributeName(String attributeName)
The name of the attribute to sort on.
|
SortCriteria |
withOrderBy(OrderBy orderBy)
The sort order, ascending or descending.
|
SortCriteria |
withOrderBy(String orderBy)
The sort order, ascending or descending.
|
public void setAttributeName(String attributeName)
The name of the attribute to sort on.
attributeName
- The name of the attribute to sort on.public String getAttributeName()
The name of the attribute to sort on.
public SortCriteria withAttributeName(String attributeName)
The name of the attribute to sort on.
attributeName
- The name of the attribute to sort on.public void setOrderBy(String orderBy)
The sort order, ascending or descending.
orderBy
- The sort order, ascending or descending.OrderBy
public String getOrderBy()
The sort order, ascending or descending.
OrderBy
public SortCriteria withOrderBy(String orderBy)
The sort order, ascending or descending.
orderBy
- The sort order, ascending or descending.OrderBy
public SortCriteria withOrderBy(OrderBy orderBy)
The sort order, ascending or descending.
orderBy
- The sort order, ascending or descending.OrderBy
public String toString()
toString
in class Object
Object.toString()
public SortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.