@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.SortField
public String getField()
The finding detail field by which results are sorted.
SortField
public SortCriteria withField(String field)
The finding detail field by which results are sorted.
field
- The finding detail field by which results are sorted.SortField
public SortCriteria withField(SortField field)
The finding detail field by which results are sorted.
field
- The finding detail field by which results are sorted.SortField
public void setSortOrder(String sortOrder)
The order by which findings are sorted.
sortOrder
- The order by which findings are sorted.SortOrder
public String getSortOrder()
The order by which findings are sorted.
SortOrder
public SortCriteria withSortOrder(String sortOrder)
The order by which findings are sorted.
sortOrder
- The order by which findings are sorted.SortOrder
public SortCriteria withSortOrder(SortOrder sortOrder)
The order by which findings are sorted.
sortOrder
- The order by which findings are sorted.SortOrder
public String toString()
toString
in class Object
Object.toString()
public SortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.