Interface DescribeFeaturedResultsSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFeaturedResultsSetResponse.Builder,
,DescribeFeaturedResultsSetResponse> KendraResponse.Builder
,SdkBuilder<DescribeFeaturedResultsSetResponse.Builder,
,DescribeFeaturedResultsSetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFeaturedResultsSetResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimestamp
(Long creationTimestamp) The Unix timestamp when the set of the featured results was created.description
(String description) The description for the set of featured results.featuredDocumentsMissing
(Collection<FeaturedDocumentMissing> featuredDocumentsMissing) The list of document IDs that don't exist but you have specified as featured documents.featuredDocumentsMissing
(Consumer<FeaturedDocumentMissing.Builder>... featuredDocumentsMissing) The list of document IDs that don't exist but you have specified as featured documents.featuredDocumentsMissing
(FeaturedDocumentMissing... featuredDocumentsMissing) The list of document IDs that don't exist but you have specified as featured documents.featuredDocumentsWithMetadata
(Collection<FeaturedDocumentWithMetadata> featuredDocumentsWithMetadata) The list of document IDs for the documents you want to feature with their metadata information.featuredDocumentsWithMetadata
(Consumer<FeaturedDocumentWithMetadata.Builder>... featuredDocumentsWithMetadata) The list of document IDs for the documents you want to feature with their metadata information.featuredDocumentsWithMetadata
(FeaturedDocumentWithMetadata... featuredDocumentsWithMetadata) The list of document IDs for the documents you want to feature with their metadata information.featuredResultsSetId
(String featuredResultsSetId) The identifier of the set of featured results.featuredResultsSetName
(String featuredResultsSetName) The name for the set of featured results.lastUpdatedTimestamp
(Long lastUpdatedTimestamp) The timestamp when the set of featured results was last updated.queryTexts
(String... queryTexts) The list of queries for featuring results.queryTexts
(Collection<String> queryTexts) The list of queries for featuring results.The current status of the set of featured results.status
(FeaturedResultsSetStatus status) The current status of the set of featured results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
featuredResultsSetId
The identifier of the set of featured results.
- Parameters:
featuredResultsSetId
- The identifier of the set of featured results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredResultsSetName
The name for the set of featured results.
- Parameters:
featuredResultsSetName
- The name for the set of featured results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the set of featured results.
- Parameters:
description
- The description for the set of featured results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the set of featured results. When the value is
ACTIVE
, featured results are ready for use. You can still configure your settings before setting the status toACTIVE
. You can set the status toACTIVE
orINACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVE
orINACTIVE
.- Parameters:
status
- The current status of the set of featured results. When the value isACTIVE
, featured results are ready for use. You can still configure your settings before setting the status toACTIVE
. You can set the status toACTIVE
orINACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVE
orINACTIVE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the set of featured results. When the value is
ACTIVE
, featured results are ready for use. You can still configure your settings before setting the status toACTIVE
. You can set the status toACTIVE
orINACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVE
orINACTIVE
.- Parameters:
status
- The current status of the set of featured results. When the value isACTIVE
, featured results are ready for use. You can still configure your settings before setting the status toACTIVE
. You can set the status toACTIVE
orINACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVE
orINACTIVE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryTexts
The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
- Parameters:
queryTexts
- The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryTexts
The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
- Parameters:
queryTexts
- The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredDocumentsWithMetadata
DescribeFeaturedResultsSetResponse.Builder featuredDocumentsWithMetadata(Collection<FeaturedDocumentWithMetadata> featuredDocumentsWithMetadata) The list of document IDs for the documents you want to feature with their metadata information. For more information on the list of featured documents, see FeaturedResultsSet.
- Parameters:
featuredDocumentsWithMetadata
- The list of document IDs for the documents you want to feature with their metadata information. For more information on the list of featured documents, see FeaturedResultsSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredDocumentsWithMetadata
DescribeFeaturedResultsSetResponse.Builder featuredDocumentsWithMetadata(FeaturedDocumentWithMetadata... featuredDocumentsWithMetadata) The list of document IDs for the documents you want to feature with their metadata information. For more information on the list of featured documents, see FeaturedResultsSet.
- Parameters:
featuredDocumentsWithMetadata
- The list of document IDs for the documents you want to feature with their metadata information. For more information on the list of featured documents, see FeaturedResultsSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredDocumentsWithMetadata
DescribeFeaturedResultsSetResponse.Builder featuredDocumentsWithMetadata(Consumer<FeaturedDocumentWithMetadata.Builder>... featuredDocumentsWithMetadata) The list of document IDs for the documents you want to feature with their metadata information. For more information on the list of featured documents, see FeaturedResultsSet.
This is a convenience method that creates an instance of theFeaturedDocumentWithMetadata.Builder
avoiding the need to create one manually viaFeaturedDocumentWithMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeaturedDocumentsWithMetadata(List<FeaturedDocumentWithMetadata>)
.- Parameters:
featuredDocumentsWithMetadata
- a consumer that will call methods onFeaturedDocumentWithMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
featuredDocumentsMissing
DescribeFeaturedResultsSetResponse.Builder featuredDocumentsMissing(Collection<FeaturedDocumentMissing> featuredDocumentsMissing) The list of document IDs that don't exist but you have specified as featured documents. Amazon Kendra cannot feature these documents if they don't exist in the index. You can check the status of a document and its ID or check for documents with status errors using the BatchGetDocumentStatus API.
- Parameters:
featuredDocumentsMissing
- The list of document IDs that don't exist but you have specified as featured documents. Amazon Kendra cannot feature these documents if they don't exist in the index. You can check the status of a document and its ID or check for documents with status errors using the BatchGetDocumentStatus API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredDocumentsMissing
DescribeFeaturedResultsSetResponse.Builder featuredDocumentsMissing(FeaturedDocumentMissing... featuredDocumentsMissing) The list of document IDs that don't exist but you have specified as featured documents. Amazon Kendra cannot feature these documents if they don't exist in the index. You can check the status of a document and its ID or check for documents with status errors using the BatchGetDocumentStatus API.
- Parameters:
featuredDocumentsMissing
- The list of document IDs that don't exist but you have specified as featured documents. Amazon Kendra cannot feature these documents if they don't exist in the index. You can check the status of a document and its ID or check for documents with status errors using the BatchGetDocumentStatus API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featuredDocumentsMissing
DescribeFeaturedResultsSetResponse.Builder featuredDocumentsMissing(Consumer<FeaturedDocumentMissing.Builder>... featuredDocumentsMissing) The list of document IDs that don't exist but you have specified as featured documents. Amazon Kendra cannot feature these documents if they don't exist in the index. You can check the status of a document and its ID or check for documents with status errors using the BatchGetDocumentStatus API.
This is a convenience method that creates an instance of theFeaturedDocumentMissing.Builder
avoiding the need to create one manually viaFeaturedDocumentMissing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofeaturedDocumentsMissing(List<FeaturedDocumentMissing>)
.- Parameters:
featuredDocumentsMissing
- a consumer that will call methods onFeaturedDocumentMissing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedTimestamp
The timestamp when the set of featured results was last updated.
- Parameters:
lastUpdatedTimestamp
- The timestamp when the set of featured results was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
The Unix timestamp when the set of the featured results was created.
- Parameters:
creationTimestamp
- The Unix timestamp when the set of the featured results was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-