@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchResourcesSortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Specifies criteria for sorting the results of a query for information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
Constructor and Description |
---|
SearchResourcesSortCriteria() |
Modifier and Type | Method and Description |
---|---|
SearchResourcesSortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The property to sort the results by.
|
String |
getOrderBy()
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The property to sort the results by.
|
void |
setOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
String |
toString()
Returns a string representation of this object.
|
SearchResourcesSortCriteria |
withAttributeName(SearchResourcesSortAttributeName attributeName)
The property to sort the results by.
|
SearchResourcesSortCriteria |
withAttributeName(String attributeName)
The property to sort the results by.
|
SearchResourcesSortCriteria |
withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
SearchResourcesSortCriteria |
withOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
public void setAttributeName(String attributeName)
The property to sort the results by.
attributeName
- The property to sort the results by.SearchResourcesSortAttributeName
public String getAttributeName()
The property to sort the results by.
SearchResourcesSortAttributeName
public SearchResourcesSortCriteria withAttributeName(String attributeName)
The property to sort the results by.
attributeName
- The property to sort the results by.SearchResourcesSortAttributeName
public SearchResourcesSortCriteria withAttributeName(SearchResourcesSortAttributeName attributeName)
The property to sort the results by.
attributeName
- The property to sort the results by.SearchResourcesSortAttributeName
public void setOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName
property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in
descending order.OrderBy
public String getOrderBy()
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
OrderBy
public SearchResourcesSortCriteria withOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName
property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in
descending order.OrderBy
public SearchResourcesSortCriteria withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName
property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in
descending order.OrderBy
public String toString()
toString
in class Object
Object.toString()
public SearchResourcesSortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.