@Generated(value="software.amazon.awssdk:codegen") public final class UsageStatisticsSortBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UsageStatisticsSortBy.Builder,UsageStatisticsSortBy>
Specifies criteria for sorting the results of a query for Amazon Macie account quotas and usage data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UsageStatisticsSortBy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UsageStatisticsSortBy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
UsageStatisticsSortKey |
key()
The field to sort the results by.
|
String |
keyAsString()
The field to sort the results by.
|
OrderBy |
orderBy()
The sort order to apply to the results, based on the value for the field specified by the key property.
|
String |
orderByAsString()
The sort order to apply to the results, based on the value for the field specified by the key property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UsageStatisticsSortBy.Builder> |
serializableBuilderClass() |
UsageStatisticsSortBy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UsageStatisticsSortKey key()
The field to sort the results by.
If the service returns an enum value that is not available in the current SDK version, key will return
UsageStatisticsSortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
UsageStatisticsSortKeypublic final String keyAsString()
The field to sort the results by.
If the service returns an enum value that is not available in the current SDK version, key will return
UsageStatisticsSortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
UsageStatisticsSortKeypublic final 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.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return OrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
OrderBypublic final String orderByAsString()
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.
If the service returns an enum value that is not available in the current SDK version, orderBy will
return OrderBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderByAsString().
OrderBypublic UsageStatisticsSortBy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UsageStatisticsSortBy.Builder,UsageStatisticsSortBy>public static UsageStatisticsSortBy.Builder builder()
public static Class<? extends UsageStatisticsSortBy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.