@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFeaturedResultsSetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFeaturedResultsSetResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFeaturedResultsSetResult |
clone() |
boolean |
equals(Object obj) |
Long |
getCreationTimestamp()
The Unix timestamp when the set of the featured results was created.
|
String |
getDescription()
The description for the set of featured results.
|
List<FeaturedDocumentMissing> |
getFeaturedDocumentsMissing()
The list of document IDs that don't exist but you have specified as featured documents.
|
List<FeaturedDocumentWithMetadata> |
getFeaturedDocumentsWithMetadata()
The list of document IDs for the documents you want to feature with their metadata information.
|
String |
getFeaturedResultsSetId()
The identifier of the set of featured results.
|
String |
getFeaturedResultsSetName()
The name for the set of featured results.
|
Long |
getLastUpdatedTimestamp()
The timestamp when the set of featured results was last updated.
|
List<String> |
getQueryTexts()
The list of queries for featuring results.
|
String |
getStatus()
The current status of the set of featured results.
|
int |
hashCode() |
void |
setCreationTimestamp(Long creationTimestamp)
The Unix timestamp when the set of the featured results was created.
|
void |
setDescription(String description)
The description for the set of featured results.
|
void |
setFeaturedDocumentsMissing(Collection<FeaturedDocumentMissing> featuredDocumentsMissing)
The list of document IDs that don't exist but you have specified as featured documents.
|
void |
setFeaturedDocumentsWithMetadata(Collection<FeaturedDocumentWithMetadata> featuredDocumentsWithMetadata)
The list of document IDs for the documents you want to feature with their metadata information.
|
void |
setFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results.
|
void |
setFeaturedResultsSetName(String featuredResultsSetName)
The name for the set of featured results.
|
void |
setLastUpdatedTimestamp(Long lastUpdatedTimestamp)
The timestamp when the set of featured results was last updated.
|
void |
setQueryTexts(Collection<String> queryTexts)
The list of queries for featuring results.
|
void |
setStatus(String status)
The current status of the set of featured results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFeaturedResultsSetResult |
withCreationTimestamp(Long creationTimestamp)
The Unix timestamp when the set of the featured results was created.
|
DescribeFeaturedResultsSetResult |
withDescription(String description)
The description for the set of featured results.
|
DescribeFeaturedResultsSetResult |
withFeaturedDocumentsMissing(Collection<FeaturedDocumentMissing> featuredDocumentsMissing)
The list of document IDs that don't exist but you have specified as featured documents.
|
DescribeFeaturedResultsSetResult |
withFeaturedDocumentsMissing(FeaturedDocumentMissing... featuredDocumentsMissing)
The list of document IDs that don't exist but you have specified as featured documents.
|
DescribeFeaturedResultsSetResult |
withFeaturedDocumentsWithMetadata(Collection<FeaturedDocumentWithMetadata> featuredDocumentsWithMetadata)
The list of document IDs for the documents you want to feature with their metadata information.
|
DescribeFeaturedResultsSetResult |
withFeaturedDocumentsWithMetadata(FeaturedDocumentWithMetadata... featuredDocumentsWithMetadata)
The list of document IDs for the documents you want to feature with their metadata information.
|
DescribeFeaturedResultsSetResult |
withFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results.
|
DescribeFeaturedResultsSetResult |
withFeaturedResultsSetName(String featuredResultsSetName)
The name for the set of featured results.
|
DescribeFeaturedResultsSetResult |
withLastUpdatedTimestamp(Long lastUpdatedTimestamp)
The timestamp when the set of featured results was last updated.
|
DescribeFeaturedResultsSetResult |
withQueryTexts(Collection<String> queryTexts)
The list of queries for featuring results.
|
DescribeFeaturedResultsSetResult |
withQueryTexts(String... queryTexts)
The list of queries for featuring results.
|
DescribeFeaturedResultsSetResult |
withStatus(FeaturedResultsSetStatus status)
The current status of the set of featured results.
|
DescribeFeaturedResultsSetResult |
withStatus(String status)
The current status of the set of featured results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results.
featuredResultsSetId
- The identifier of the set of featured results.public String getFeaturedResultsSetId()
The identifier of the set of featured results.
public DescribeFeaturedResultsSetResult withFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results.
featuredResultsSetId
- The identifier of the set of featured results.public void setFeaturedResultsSetName(String featuredResultsSetName)
The name for the set of featured results.
featuredResultsSetName
- The name for the set of featured results.public String getFeaturedResultsSetName()
The name for the set of featured results.
public DescribeFeaturedResultsSetResult withFeaturedResultsSetName(String featuredResultsSetName)
The name for the set of featured results.
featuredResultsSetName
- The name for the set of featured results.public void setDescription(String description)
The description for the set of featured results.
description
- The description for the set of featured results.public String getDescription()
The description for the set of featured results.
public DescribeFeaturedResultsSetResult withDescription(String description)
The description for the set of featured results.
description
- The description for the set of featured results.public void setStatus(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 to ACTIVE
. You can
set the status to ACTIVE
or INACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE
or INACTIVE
.
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 to ACTIVE
.
You can set the status to ACTIVE
or INACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE
or INACTIVE
.FeaturedResultsSetStatus
public String getStatus()
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 to ACTIVE
. You can
set the status to ACTIVE
or INACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE
or INACTIVE
.
ACTIVE
, featured
results are ready for use. You can still configure your settings before setting the status to
ACTIVE
. You can set the status to ACTIVE
or INACTIVE
using the
UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE
or INACTIVE
.FeaturedResultsSetStatus
public DescribeFeaturedResultsSetResult withStatus(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 to ACTIVE
. You can
set the status to ACTIVE
or INACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE
or INACTIVE
.
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 to ACTIVE
.
You can set the status to ACTIVE
or INACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE
or INACTIVE
.FeaturedResultsSetStatus
public DescribeFeaturedResultsSetResult withStatus(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 to ACTIVE
. You can
set the status to ACTIVE
or INACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE
or INACTIVE
.
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 to ACTIVE
.
You can set the status to ACTIVE
or INACTIVE
using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE
or INACTIVE
.FeaturedResultsSetStatus
public List<String> getQueryTexts()
The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
public void setQueryTexts(Collection<String> queryTexts)
The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
queryTexts
- The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.public DescribeFeaturedResultsSetResult withQueryTexts(String... queryTexts)
The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
NOTE: This method appends the values to the existing list (if any). Use
setQueryTexts(java.util.Collection)
or withQueryTexts(java.util.Collection)
if you want to
override the existing values.
queryTexts
- The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.public DescribeFeaturedResultsSetResult withQueryTexts(Collection<String> queryTexts)
The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
queryTexts
- The list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.public List<FeaturedDocumentWithMetadata> getFeaturedDocumentsWithMetadata()
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.
public void setFeaturedDocumentsWithMetadata(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.
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.public DescribeFeaturedResultsSetResult withFeaturedDocumentsWithMetadata(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.
NOTE: This method appends the values to the existing list (if any). Use
setFeaturedDocumentsWithMetadata(java.util.Collection)
or
withFeaturedDocumentsWithMetadata(java.util.Collection)
if you want to override the existing values.
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.public DescribeFeaturedResultsSetResult withFeaturedDocumentsWithMetadata(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.
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.public List<FeaturedDocumentMissing> getFeaturedDocumentsMissing()
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.
public void setFeaturedDocumentsMissing(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.
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.public DescribeFeaturedResultsSetResult withFeaturedDocumentsMissing(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.
NOTE: This method appends the values to the existing list (if any). Use
setFeaturedDocumentsMissing(java.util.Collection)
or
withFeaturedDocumentsMissing(java.util.Collection)
if you want to override the existing values.
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.public DescribeFeaturedResultsSetResult withFeaturedDocumentsMissing(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.
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.public void setLastUpdatedTimestamp(Long lastUpdatedTimestamp)
The timestamp when the set of featured results was last updated.
lastUpdatedTimestamp
- The timestamp when the set of featured results was last updated.public Long getLastUpdatedTimestamp()
The timestamp when the set of featured results was last updated.
public DescribeFeaturedResultsSetResult withLastUpdatedTimestamp(Long lastUpdatedTimestamp)
The timestamp when the set of featured results was last updated.
lastUpdatedTimestamp
- The timestamp when the set of featured results was last updated.public void setCreationTimestamp(Long creationTimestamp)
The Unix timestamp when the set of the featured results was created.
creationTimestamp
- The Unix timestamp when the set of the featured results was created.public Long getCreationTimestamp()
The Unix timestamp when the set of the featured results was created.
public DescribeFeaturedResultsSetResult withCreationTimestamp(Long creationTimestamp)
The Unix timestamp when the set of the featured results was created.
creationTimestamp
- The Unix timestamp when the set of the featured results was created.public String toString()
toString
in class Object
Object.toString()
public DescribeFeaturedResultsSetResult clone()