@Generated(value="software.amazon.awssdk:codegen") public final class SortDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortDefinition.Builder,SortDefinition>
The details of 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 by which to sort the data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SortDefinition.Builder> |
serializableBuilderClass() |
SortOrder |
sortOrder()
The order in which to sort the data.
|
String |
sortOrderAsString()
The order in which 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 by which to sort the data.
public final SortOrder sortOrder()
The order in which 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 in which 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 © 2021. All rights reserved.