@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingStatisticsSortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about findings.
Constructor and Description |
---|
FindingStatisticsSortCriteria() |
Modifier and Type | Method and Description |
---|---|
FindingStatisticsSortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The grouping 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 grouping 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.
|
FindingStatisticsSortCriteria |
withAttributeName(FindingStatisticsSortAttributeName attributeName)
The grouping to sort the results by.
|
FindingStatisticsSortCriteria |
withAttributeName(String attributeName)
The grouping to sort the results by.
|
FindingStatisticsSortCriteria |
withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the property specified by the attributeName
property.
|
FindingStatisticsSortCriteria |
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 grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
attributeName
- The grouping to sort the results by. Valid values are: count, sort the results by the number of findings
in each group of results; and, groupKey, sort the results by the name of each group of results.FindingStatisticsSortAttributeName
public String getAttributeName()
The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
FindingStatisticsSortAttributeName
public FindingStatisticsSortCriteria withAttributeName(String attributeName)
The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
attributeName
- The grouping to sort the results by. Valid values are: count, sort the results by the number of findings
in each group of results; and, groupKey, sort the results by the name of each group of results.FindingStatisticsSortAttributeName
public FindingStatisticsSortCriteria withAttributeName(FindingStatisticsSortAttributeName attributeName)
The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
attributeName
- The grouping to sort the results by. Valid values are: count, sort the results by the number of findings
in each group of results; and, groupKey, sort the results by the name of each group of results.FindingStatisticsSortAttributeName
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 FindingStatisticsSortCriteria 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 FindingStatisticsSortCriteria 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 FindingStatisticsSortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.