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