@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.SortOrder
public String getSortOrder()
The order used to sort findings.
SortOrder
public SortCriterion withSortOrder(String sortOrder)
The order used to sort findings.
sortOrder
- The order used to sort findings.SortOrder
public SortCriterion withSortOrder(SortOrder sortOrder)
The order used to sort findings.
sortOrder
- The order used to sort findings.SortOrder
public String toString()
toString
in class Object
Object.toString()
public SortCriterion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.