@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Sort extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains two attributes, SortBy and SortOrder.
| Constructor and Description |
|---|
Sort() |
| Modifier and Type | Method and Description |
|---|---|
Sort |
clone() |
boolean |
equals(Object obj) |
String |
getSortBy()
For
ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name. |
String |
getSortOrder()
The sorting order.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSortBy(String sortBy)
For
ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name. |
void |
setSortOrder(String sortOrder)
The sorting order.
|
String |
toString()
Returns a string representation of this object.
|
Sort |
withSortBy(String sortBy)
For
ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name. |
Sort |
withSortOrder(SortOrder sortOrder)
The sorting order.
|
Sort |
withSortOrder(String sortOrder)
The sorting order.
|
public void setSortBy(String sortBy)
For ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and EndTime.
sortBy - For ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and
EndTime.
public String getSortBy()
For ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and EndTime.
ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and
EndTime.
public Sort withSortBy(String sortBy)
For ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and EndTime.
sortBy - For ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and
EndTime.
public void setSortOrder(String sortOrder)
The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.
sortOrder - The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.SortOrderpublic String getSortOrder()
The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.
ASCENDING or DESCENDING. The default value is
DESCENDING.SortOrderpublic Sort withSortOrder(String sortOrder)
The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.
sortOrder - The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.SortOrderpublic Sort withSortOrder(SortOrder sortOrder)
The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.
sortOrder - The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.SortOrderpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.