@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Details about the criteria used to sort finding results.
| Constructor and Description |
|---|
SortCriteria() |
| Modifier and Type | Method and Description |
|---|---|
SortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getField()
The finding detail field by which results are sorted.
|
String |
getSortOrder()
The order by which findings are sorted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setField(String field)
The finding detail field by which results are sorted.
|
void |
setSortOrder(String sortOrder)
The order by which findings are sorted.
|
String |
toString()
Returns a string representation of this object.
|
SortCriteria |
withField(SortField field)
The finding detail field by which results are sorted.
|
SortCriteria |
withField(String field)
The finding detail field by which results are sorted.
|
SortCriteria |
withSortOrder(SortOrder sortOrder)
The order by which findings are sorted.
|
SortCriteria |
withSortOrder(String sortOrder)
The order by which findings are sorted.
|
public void setField(String field)
The finding detail field by which results are sorted.
field - The finding detail field by which results are sorted.SortFieldpublic String getField()
The finding detail field by which results are sorted.
SortFieldpublic SortCriteria withField(String field)
The finding detail field by which results are sorted.
field - The finding detail field by which results are sorted.SortFieldpublic SortCriteria withField(SortField field)
The finding detail field by which results are sorted.
field - The finding detail field by which results are sorted.SortFieldpublic void setSortOrder(String sortOrder)
The order by which findings are sorted.
sortOrder - The order by which findings are sorted.SortOrderpublic String getSortOrder()
The order by which findings are sorted.
SortOrderpublic SortCriteria withSortOrder(String sortOrder)
The order by which findings are sorted.
sortOrder - The order by which findings are sorted.SortOrderpublic SortCriteria withSortOrder(SortOrder sortOrder)
The order by which findings are sorted.
sortOrder - The order by which findings are sorted.SortOrderpublic 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.