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