@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCriterion extends Object implements Serializable, Cloneable, StructuredPojo
A collection of finding attributes used to sort findings.
| Constructor and Description |
|---|
SortCriterion() |
| Modifier and Type | Method and Description |
|---|---|
SortCriterion |
clone() |
boolean |
equals(Object obj) |
String |
getField()
The finding attribute used to sort findings.
|
String |
getSortOrder()
The order used to sort findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setField(String field)
The finding attribute used to sort findings.
|
void |
setSortOrder(String sortOrder)
The order used to sort findings.
|
String |
toString()
Returns a string representation of this object.
|
SortCriterion |
withField(String field)
The finding attribute used to sort findings.
|
SortCriterion |
withSortOrder(SortOrder sortOrder)
The order used to sort findings.
|
SortCriterion |
withSortOrder(String sortOrder)
The order used to sort findings.
|
public void setField(String field)
The finding attribute used to sort findings.
field - The finding attribute used to sort findings.public String getField()
The finding attribute used to sort findings.
public SortCriterion withField(String field)
The finding attribute used to sort findings.
field - The finding attribute used to sort findings.public void setSortOrder(String sortOrder)
The order used to sort findings.
sortOrder - The order used to sort findings.SortOrderpublic String getSortOrder()
The order used to sort findings.
SortOrderpublic SortCriterion withSortOrder(String sortOrder)
The order used to sort findings.
sortOrder - The order used to sort findings.SortOrderpublic SortCriterion withSortOrder(SortOrder sortOrder)
The order used to sort findings.
sortOrder - The order used to sort findings.SortOrderpublic String toString()
toString in class ObjectObject.toString()public SortCriterion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.