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