Class SearchSortResult
- java.lang.Object
-
- software.amazon.awssdk.services.workdocs.model.SearchSortResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SearchSortResult.Builder,SearchSortResult>
@Generated("software.amazon.awssdk:codegen") public final class SearchSortResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchSortResult.Builder,SearchSortResult>
The result of the sort operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSearchSortResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchSortResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)OrderByFieldTypefield()Sort search results based on this field name.StringfieldAsString()Sort search results based on this field name.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SortOrderorder()Sort direction.StringorderAsString()Sort direction.List<SdkField<?>>sdkFields()static Class<? extends SearchSortResult.Builder>serializableBuilderClass()SearchSortResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
field
public 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,
fieldwill returnOrderByFieldType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfieldAsString().- Returns:
- Sort search results based on this field name.
- See Also:
OrderByFieldType
-
fieldAsString
public 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,
fieldwill returnOrderByFieldType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfieldAsString().- Returns:
- Sort search results based on this field name.
- See Also:
OrderByFieldType
-
order
public final SortOrder order()
Sort direction.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- Sort direction.
- See Also:
SortOrder
-
orderAsString
public final String orderAsString()
Sort direction.
If the service returns an enum value that is not available in the current SDK version,
orderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromorderAsString().- Returns:
- Sort direction.
- See Also:
SortOrder
-
toBuilder
public SearchSortResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchSortResult.Builder,SearchSortResult>
-
builder
public static SearchSortResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends SearchSortResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-