@Generated(value="software.amazon.awssdk:codegen") public final class SortDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortDefinition.Builder,SortDefinition>
The details for how to sort the data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SortDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SortDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key that's used to sort the data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SortDefinition.Builder> |
serializableBuilderClass() |
SortOrder |
sortOrder()
The order that's used to sort the data.
|
String |
sortOrderAsString()
The order that's used to sort the data.
|
SortDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String key()
The key that's used to sort the data.
public final SortOrder sortOrder()
The order that's used to sort the data.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic final String sortOrderAsString()
The order that's used to sort the data.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic SortDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SortDefinition.Builder,SortDefinition>public static SortDefinition.Builder builder()
public static Class<? extends SortDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.