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