@Generated(value="software.amazon.awssdk:codegen") public final class SortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortCriteria.Builder,SortCriteria>
The criteria used to sort.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SortCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeName()
The name of the attribute to sort on.
|
static SortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OrderBy |
orderBy()
The sort order, ascending or descending.
|
String |
orderByAsString()
The sort order, ascending or descending.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SortCriteria.Builder> |
serializableBuilderClass() |
SortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String attributeName()
The name of the attribute to sort on.
public final OrderBy orderBy()
The sort order, ascending or descending.
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, ascending or descending.
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 SortCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SortCriteria.Builder,SortCriteria>public static SortCriteria.Builder builder()
public static Class<? extends SortCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.