@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)
Marshalls this structured data using the given
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.OfferSortBy
public String getSortBy()
Allows to sort offers.
OfferSortBy
public OfferSort withSortBy(String sortBy)
Allows to sort offers.
sortBy
- Allows to sort offers.OfferSortBy
public OfferSort withSortBy(OfferSortBy sortBy)
Allows to sort offers.
sortBy
- Allows to sort offers.OfferSortBy
public void setSortOrder(String sortOrder)
Allows to sort offers.
sortOrder
- Allows to sort offers.SortOrder
public String getSortOrder()
Allows to sort offers.
SortOrder
public OfferSort withSortOrder(String sortOrder)
Allows to sort offers.
sortOrder
- Allows to sort offers.SortOrder
public OfferSort withSortOrder(SortOrder sortOrder)
Allows to sort offers.
sortOrder
- Allows to sort offers.SortOrder
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.