@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Specifies criteria for sorting the results of a request for findings.
| Constructor and Description |
|---|
SortCriteria() |
| Modifier and Type | Method and Description |
|---|---|
SortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of 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 name of 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.
|
SortCriteria |
withAttributeName(String attributeName)
The name of the property to sort the results by.
|
SortCriteria |
withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
SortCriteria |
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 name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.
attributeName - The name of the property to sort the results by. Valid values are: count, createdAt,
policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen,
resourcesAffected, severity.score, type, and updatedAt.public String getAttributeName()
The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.
public SortCriteria withAttributeName(String attributeName)
The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.
attributeName - The name of the property to sort the results by. Valid values are: count, createdAt,
policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen,
resourcesAffected, severity.score, type, and updatedAt.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.OrderBypublic 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.
OrderBypublic SortCriteria 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.OrderBypublic SortCriteria 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.OrderBypublic String toString()
toString in class ObjectObject.toString()public SortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.