Interface SortingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SortingConfiguration.Builder,
,SortingConfiguration> SdkBuilder<SortingConfiguration.Builder,
,SortingConfiguration> SdkPojo
- Enclosing class:
SortingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondocumentAttributeKey
(String documentAttributeKey) The name of the document attribute used to sort the response.The order that the results should be returned in.The order that the results should be returned in.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
documentAttributeKey
The name of the document attribute used to sort the response. You can use any field that has the
Sortable
flag set to true.You can also sort by any of the following built-in attributes:
-
_category
-
_created_at
-
_last_updated_at
-
_version
-
_view_count
- Parameters:
documentAttributeKey
- The name of the document attribute used to sort the response. You can use any field that has theSortable
flag set to true.You can also sort by any of the following built-in attributes:
-
_category
-
_created_at
-
_last_updated_at
-
_version
-
_view_count
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
sortOrder
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
- Parameters:
sortOrder
- The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
- Parameters:
sortOrder
- The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-