@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OfferSort extends Object implements Serializable, Cloneable, StructuredPojo
Allows to sort offers.
| Constructor and Description |
|---|
OfferSort() |
| Modifier and Type | Method and Description |
|---|---|
OfferSort |
clone() |
boolean |
equals(Object obj) |
String |
getSortBy()
Allows to sort offers.
|
String |
getSortOrder()
Allows to sort offers.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSortBy(String sortBy)
Allows to sort offers.
|
void |
setSortOrder(String sortOrder)
Allows to sort offers.
|
String |
toString()
Returns a string representation of this object.
|
OfferSort |
withSortBy(OfferSortBy sortBy)
Allows to sort offers.
|
OfferSort |
withSortBy(String sortBy)
Allows to sort offers.
|
OfferSort |
withSortOrder(SortOrder sortOrder)
Allows to sort offers.
|
OfferSort |
withSortOrder(String sortOrder)
Allows to sort offers.
|
public void setSortBy(String sortBy)
Allows to sort offers.
sortBy - Allows to sort offers.OfferSortBypublic String getSortBy()
Allows to sort offers.
OfferSortBypublic OfferSort withSortBy(String sortBy)
Allows to sort offers.
sortBy - Allows to sort offers.OfferSortBypublic OfferSort withSortBy(OfferSortBy sortBy)
Allows to sort offers.
sortBy - Allows to sort offers.OfferSortBypublic void setSortOrder(String sortOrder)
Allows to sort offers.
sortOrder - Allows to sort offers.SortOrderpublic String getSortOrder()
Allows to sort offers.
SortOrderpublic OfferSort withSortOrder(String sortOrder)
Allows to sort offers.
sortOrder - Allows to sort offers.SortOrderpublic OfferSort withSortOrder(SortOrder sortOrder)
Allows to sort offers.
sortOrder - Allows to sort offers.SortOrderpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.