@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Specifies criteria for sorting the results of a request for findings.
Constructor and Description |
---|
SortCriteria() |
Modifier and Type | Method and Description |
---|---|
SortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the property to sort the results by.
|
String |
getOrderBy()
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the property to sort the results by.
|
void |
setOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
String |
toString()
Returns a string representation of this object.
|
SortCriteria |
withAttributeName(String attributeName)
The name of the property to sort the results by.
|
SortCriteria |
withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
SortCriteria |
withOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
public void setAttributeName(String attributeName)
The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
attributeName
- The name of the property to sort the results by. This value can be the name of any property that Amazon
Macie defines for a finding.public String getAttributeName()
The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
public SortCriteria withAttributeName(String attributeName)
The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
attributeName
- The name of the property to sort the results by. This value can be the name of any property that Amazon
Macie defines for a finding.public void setOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName
property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in
descending order.OrderBy
public String getOrderBy()
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
OrderBy
public SortCriteria withOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName
property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in
descending order.OrderBy
public SortCriteria withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
orderBy
- The sort order to apply to the results, based on the value for the property specified by the attributeName
property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in
descending order.OrderBy
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.