Interface DescribeFeaturedResultsSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFeaturedResultsSetResponse.Builder,DescribeFeaturedResultsSetResponse>,KendraResponse.Builder,SdkBuilder<DescribeFeaturedResultsSetResponse.Builder,DescribeFeaturedResultsSetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeFeaturedResultsSetResponse
public static interface DescribeFeaturedResultsSetResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<DescribeFeaturedResultsSetResponse.Builder,DescribeFeaturedResultsSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeFeaturedResultsSetResponse.BuildercreationTimestamp(Long creationTimestamp)The Unix timestamp when the set of the featured results was created.DescribeFeaturedResultsSetResponse.Builderdescription(String description)The description for the set of featured results.DescribeFeaturedResultsSetResponse.BuilderfeaturedDocumentsMissing(Collection<FeaturedDocumentMissing> featuredDocumentsMissing)The list of document IDs that don't exist but you have specified as featured documents.DescribeFeaturedResultsSetResponse.BuilderfeaturedDocumentsMissing(Consumer<FeaturedDocumentMissing.Builder>... featuredDocumentsMissing)The list of document IDs that don't exist but you have specified as featured documents.DescribeFeaturedResultsSetResponse.BuilderfeaturedDocumentsMissing(FeaturedDocumentMissing... featuredDocumentsMissing)The list of document IDs that don't exist but you have specified as featured documents.DescribeFeaturedResultsSetResponse.BuilderfeaturedDocumentsWithMetadata(Collection<FeaturedDocumentWithMetadata> featuredDocumentsWithMetadata)The list of document IDs for the documents you want to feature with their metadata information.DescribeFeaturedResultsSetResponse.BuilderfeaturedDocumentsWithMetadata(Consumer<FeaturedDocumentWithMetadata.Builder>... featuredDocumentsWithMetadata)The list of document IDs for the documents you want to feature with their metadata information.DescribeFeaturedResultsSetResponse.BuilderfeaturedDocumentsWithMetadata(FeaturedDocumentWithMetadata... featuredDocumentsWithMetadata)The list of document IDs for the documents you want to feature with their metadata information.DescribeFeaturedResultsSetResponse.BuilderfeaturedResultsSetId(String featuredResultsSetId)The identifier of the set of featured results.DescribeFeaturedResultsSetResponse.BuilderfeaturedResultsSetName(String featuredResultsSetName)The name for the set of featured results.DescribeFeaturedResultsSetResponse.BuilderlastUpdatedTimestamp(Long lastUpdatedTimestamp)The timestamp when the set of featured results was last updated.DescribeFeaturedResultsSetResponse.BuilderqueryTexts(String... queryTexts)The list of queries for featuring results.DescribeFeaturedResultsSetResponse.BuilderqueryTexts(Collection<String> queryTexts)The list of queries for featuring results.DescribeFeaturedResultsSetResponse.Builderstatus(String status)The current status of the set of featured results.DescribeFeaturedResultsSetResponse.Builderstatus(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 Detail
-
featuredResultsSetId
DescribeFeaturedResultsSetResponse.Builder featuredResultsSetId(String 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
DescribeFeaturedResultsSetResponse.Builder featuredResultsSetName(String 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
DescribeFeaturedResultsSetResponse.Builder description(String 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
DescribeFeaturedResultsSetResponse.Builder status(String 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 toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- 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 toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeaturedResultsSetStatus,FeaturedResultsSetStatus
-
status
DescribeFeaturedResultsSetResponse.Builder status(FeaturedResultsSetStatus 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 toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- 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 toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeaturedResultsSetStatus,FeaturedResultsSetStatus
-
queryTexts
DescribeFeaturedResultsSetResponse.Builder queryTexts(Collection<String> 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
DescribeFeaturedResultsSetResponse.Builder queryTexts(String... 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.Builderavoiding the need to create one manually viaFeaturedDocumentWithMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#featuredDocumentsWithMetadata(List.) - 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:
#featuredDocumentsWithMetadata(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaFeaturedDocumentMissing.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#featuredDocumentsMissing(List.) - 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:
#featuredDocumentsMissing(java.util.Collection)
-
lastUpdatedTimestamp
DescribeFeaturedResultsSetResponse.Builder lastUpdatedTimestamp(Long 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
DescribeFeaturedResultsSetResponse.Builder creationTimestamp(Long 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.
-
-