@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SaaSProductSort extends Object implements Serializable, Cloneable, StructuredPojo
Objects that allows sorting on SaaS products based on certain fields and sorting order.
| Constructor and Description |
|---|
SaaSProductSort() |
| Modifier and Type | Method and Description |
|---|---|
SaaSProductSort |
clone() |
boolean |
equals(Object obj) |
String |
getSortBy()
Field to sort the SaaS products by.
|
String |
getSortOrder()
The sorting order.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSortBy(String sortBy)
Field to sort the SaaS products by.
|
void |
setSortOrder(String sortOrder)
The sorting order.
|
String |
toString()
Returns a string representation of this object.
|
SaaSProductSort |
withSortBy(SaaSProductSortBy sortBy)
Field to sort the SaaS products by.
|
SaaSProductSort |
withSortBy(String sortBy)
Field to sort the SaaS products by.
|
SaaSProductSort |
withSortOrder(SortOrder sortOrder)
The sorting order.
|
SaaSProductSort |
withSortOrder(String sortOrder)
The sorting order.
|
public void setSortBy(String sortBy)
Field to sort the SaaS products by.
sortBy - Field to sort the SaaS products by.SaaSProductSortBypublic String getSortBy()
Field to sort the SaaS products by.
SaaSProductSortBypublic SaaSProductSort withSortBy(String sortBy)
Field to sort the SaaS products by.
sortBy - Field to sort the SaaS products by.SaaSProductSortBypublic SaaSProductSort withSortBy(SaaSProductSortBy sortBy)
Field to sort the SaaS products by.
sortBy - Field to sort the SaaS products by.SaaSProductSortBypublic 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 SaaSProductSort 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 SaaSProductSort 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 SaaSProductSort clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.