@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.Field
public String getField()
Represents the Field
attribute to sort investigations.
Field
attribute to sort investigations.Field
public SortCriteria withField(String field)
Represents the Field
attribute to sort investigations.
field
- Represents the Field
attribute to sort investigations.Field
public SortCriteria withField(Field field)
Represents the Field
attribute to sort investigations.
field
- Represents the Field
attribute to sort investigations.Field
public void setSortOrder(String sortOrder)
The order by which the sorted findings are displayed.
sortOrder
- The order by which the sorted findings are displayed.SortOrder
public String getSortOrder()
The order by which the sorted findings are displayed.
SortOrder
public SortCriteria withSortOrder(String sortOrder)
The order by which the sorted findings are displayed.
sortOrder
- The order by which the sorted findings are displayed.SortOrder
public SortCriteria withSortOrder(SortOrder sortOrder)
The order by which the sorted findings are displayed.
sortOrder
- The order by which the sorted findings are displayed.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.