@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the criteria used for sorting findings.
| Constructor and Description |
|---|
SortCriteria() |
| Modifier and Type | Method and Description |
|---|---|
SortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
Represents the finding attribute (for example, accountId) to sort findings by.
|
String |
getOrderBy()
The order by which the sorted findings are to be displayed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) to sort findings by.
|
void |
setOrderBy(String orderBy)
The order by which the sorted findings are to be displayed.
|
String |
toString()
Returns a string representation of this object.
|
SortCriteria |
withAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) to sort findings by.
|
SortCriteria |
withOrderBy(OrderBy orderBy)
The order by which the sorted findings are to be displayed.
|
SortCriteria |
withOrderBy(String orderBy)
The order by which the sorted findings are to be displayed.
|
public void setAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) to sort findings by.
attributeName - Represents the finding attribute (for example, accountId) to sort findings by.public String getAttributeName()
Represents the finding attribute (for example, accountId) to sort findings by.
public SortCriteria withAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) to sort findings by.
attributeName - Represents the finding attribute (for example, accountId) to sort findings by.public void setOrderBy(String orderBy)
The order by which the sorted findings are to be displayed.
orderBy - The order by which the sorted findings are to be displayed.OrderBypublic String getOrderBy()
The order by which the sorted findings are to be displayed.
OrderBypublic SortCriteria withOrderBy(String orderBy)
The order by which the sorted findings are to be displayed.
orderBy - The order by which the sorted findings are to be displayed.OrderBypublic SortCriteria withOrderBy(OrderBy orderBy)
The order by which the sorted findings are to be displayed.
orderBy - The order by which the sorted findings are to be displayed.OrderBypublic String toString()
toString in class ObjectObject.toString()public SortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.