@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageStatisticsSortBy extends Object implements Serializable, Cloneable, StructuredPojo
Specifies criteria for sorting the results of a query for account quotas and usage data.
Constructor and Description |
---|
UsageStatisticsSortBy() |
Modifier and Type | Method and Description |
---|---|
UsageStatisticsSortBy |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The field to sort the results by.
|
String |
getOrderBy()
The sort order to apply to the results, based on the value for the field specified by the key property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The field to sort the results by.
|
void |
setOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the field specified by the key property.
|
String |
toString()
Returns a string representation of this object.
|
UsageStatisticsSortBy |
withKey(String key)
The field to sort the results by.
|
UsageStatisticsSortBy |
withKey(UsageStatisticsSortKey key)
The field to sort the results by.
|
UsageStatisticsSortBy |
withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the field specified by the key property.
|
UsageStatisticsSortBy |
withOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the field specified by the key property.
|
public void setKey(String key)
The field to sort the results by.
key
- The field to sort the results by.UsageStatisticsSortKey
public String getKey()
The field to sort the results by.
UsageStatisticsSortKey
public UsageStatisticsSortBy withKey(String key)
The field to sort the results by.
key
- The field to sort the results by.UsageStatisticsSortKey
public UsageStatisticsSortBy withKey(UsageStatisticsSortKey key)
The field to sort the results by.
key
- The field to sort the results by.UsageStatisticsSortKey
public void setOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the field specified by the key 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 field specified by the key 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 field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
OrderBy
public UsageStatisticsSortBy withOrderBy(String orderBy)
The sort order to apply to the results, based on the value for the field specified by the key 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 field specified by the key property.
Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending
order.OrderBy
public UsageStatisticsSortBy withOrderBy(OrderBy orderBy)
The sort order to apply to the results, based on the value for the field specified by the key 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 field specified by the key 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 UsageStatisticsSortBy 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.