@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the criteria used for sorting findings.
Constructor and Description |
---|
SortCriteria() |
Modifier and Type | Method and Description |
---|---|
SortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
Represents the finding attribute (for example, accountId) by which to sort findings.
|
String |
getOrderBy()
Order by which the sorted findings are to be displayed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) by which to sort findings.
|
void |
setOrderBy(String orderBy)
Order by which the sorted findings are to be displayed.
|
String |
toString()
Returns a string representation of this object.
|
SortCriteria |
withAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) by which to sort findings.
|
SortCriteria |
withOrderBy(OrderBy orderBy)
Order by which the sorted findings are to be displayed.
|
SortCriteria |
withOrderBy(String orderBy)
Order by which the sorted findings are to be displayed.
|
public void setAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) by which to sort findings.
attributeName
- Represents the finding attribute (for example, accountId) by which to sort findings.public String getAttributeName()
Represents the finding attribute (for example, accountId) by which to sort findings.
public SortCriteria withAttributeName(String attributeName)
Represents the finding attribute (for example, accountId) by which to sort findings.
attributeName
- Represents the finding attribute (for example, accountId) by which to sort findings.public void setOrderBy(String orderBy)
Order by which the sorted findings are to be displayed.
orderBy
- Order by which the sorted findings are to be displayed.OrderBy
public String getOrderBy()
Order by which the sorted findings are to be displayed.
OrderBy
public SortCriteria withOrderBy(String orderBy)
Order by which the sorted findings are to be displayed.
orderBy
- Order by which the sorted findings are to be displayed.OrderBy
public SortCriteria withOrderBy(OrderBy orderBy)
Order by which the sorted findings are to be displayed.
orderBy
- Order by which the sorted findings are to be displayed.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.