@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFeaturedResultsSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateFeaturedResultsSetRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateFeaturedResultsSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A new description for the set of featured results.
|
List<FeaturedDocument> |
getFeaturedDocuments()
A list of document IDs for the documents you want to feature at the top of the search results page.
|
String |
getFeaturedResultsSetId()
The identifier of the set of featured results that you want to update.
|
String |
getFeaturedResultsSetName()
A new name for the set of featured results.
|
String |
getIndexId()
The identifier of the index used for featuring results.
|
List<String> |
getQueryTexts()
A list of queries for featuring results.
|
String |
getStatus()
You can set the status to
ACTIVE or INACTIVE . |
int |
hashCode() |
void |
setDescription(String description)
A new description for the set of featured results.
|
void |
setFeaturedDocuments(Collection<FeaturedDocument> featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
void |
setFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results that you want to update.
|
void |
setFeaturedResultsSetName(String featuredResultsSetName)
A new name for the set of featured results.
|
void |
setIndexId(String indexId)
The identifier of the index used for featuring results.
|
void |
setQueryTexts(Collection<String> queryTexts)
A list of queries for featuring results.
|
void |
setStatus(String status)
You can set the status to
ACTIVE or INACTIVE . |
String |
toString()
Returns a string representation of this object.
|
UpdateFeaturedResultsSetRequest |
withDescription(String description)
A new description for the set of featured results.
|
UpdateFeaturedResultsSetRequest |
withFeaturedDocuments(Collection<FeaturedDocument> featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
UpdateFeaturedResultsSetRequest |
withFeaturedDocuments(FeaturedDocument... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
UpdateFeaturedResultsSetRequest |
withFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results that you want to update.
|
UpdateFeaturedResultsSetRequest |
withFeaturedResultsSetName(String featuredResultsSetName)
A new name for the set of featured results.
|
UpdateFeaturedResultsSetRequest |
withIndexId(String indexId)
The identifier of the index used for featuring results.
|
UpdateFeaturedResultsSetRequest |
withQueryTexts(Collection<String> queryTexts)
A list of queries for featuring results.
|
UpdateFeaturedResultsSetRequest |
withQueryTexts(String... queryTexts)
A list of queries for featuring results.
|
UpdateFeaturedResultsSetRequest |
withStatus(FeaturedResultsSetStatus status)
You can set the status to
ACTIVE or INACTIVE . |
UpdateFeaturedResultsSetRequest |
withStatus(String status)
You can set the status to
ACTIVE or INACTIVE . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIndexId(String indexId)
The identifier of the index used for featuring results.
indexId
- The identifier of the index used for featuring results.public String getIndexId()
The identifier of the index used for featuring results.
public UpdateFeaturedResultsSetRequest withIndexId(String indexId)
The identifier of the index used for featuring results.
indexId
- The identifier of the index used for featuring results.public void setFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results that you want to update.
featuredResultsSetId
- The identifier of the set of featured results that you want to update.public String getFeaturedResultsSetId()
The identifier of the set of featured results that you want to update.
public UpdateFeaturedResultsSetRequest withFeaturedResultsSetId(String featuredResultsSetId)
The identifier of the set of featured results that you want to update.
featuredResultsSetId
- The identifier of the set of featured results that you want to update.public void setFeaturedResultsSetName(String featuredResultsSetName)
A new name for the set of featured results.
featuredResultsSetName
- A new name for the set of featured results.public String getFeaturedResultsSetName()
A new name for the set of featured results.
public UpdateFeaturedResultsSetRequest withFeaturedResultsSetName(String featuredResultsSetName)
A new name for the set of featured results.
featuredResultsSetName
- A new name for the set of featured results.public void setDescription(String description)
A new description for the set of featured results.
description
- A new description for the set of featured results.public String getDescription()
A new description for the set of featured results.
public UpdateFeaturedResultsSetRequest withDescription(String description)
A new description for the set of featured results.
description
- A new description for the set of featured results.public void setStatus(String status)
You can set the status to ACTIVE
or INACTIVE
. When the value is ACTIVE
,
featured results are ready for use. You can still configure your settings before setting the status to
ACTIVE
. 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
- You can set the status to ACTIVE
or INACTIVE
. When the value is
ACTIVE
, featured results are ready for use. You can still configure your settings before
setting the status to ACTIVE
. 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()
You can set the status to ACTIVE
or INACTIVE
. When the value is ACTIVE
,
featured results are ready for use. You can still configure your settings before setting the status to
ACTIVE
. 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
or INACTIVE
. When the value is
ACTIVE
, featured results are ready for use. You can still configure your settings before
setting the status to ACTIVE
. 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 UpdateFeaturedResultsSetRequest withStatus(String status)
You can set the status to ACTIVE
or INACTIVE
. When the value is ACTIVE
,
featured results are ready for use. You can still configure your settings before setting the status to
ACTIVE
. 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
- You can set the status to ACTIVE
or INACTIVE
. When the value is
ACTIVE
, featured results are ready for use. You can still configure your settings before
setting the status to ACTIVE
. 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 UpdateFeaturedResultsSetRequest withStatus(FeaturedResultsSetStatus status)
You can set the status to ACTIVE
or INACTIVE
. When the value is ACTIVE
,
featured results are ready for use. You can still configure your settings before setting the status to
ACTIVE
. 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
- You can set the status to ACTIVE
or INACTIVE
. When the value is
ACTIVE
, featured results are ready for use. You can still configure your settings before
setting the status to ACTIVE
. 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()
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
public void setQueryTexts(Collection<String> queryTexts)
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
queryTexts
- A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.public UpdateFeaturedResultsSetRequest withQueryTexts(String... queryTexts)
A 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
- A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.public UpdateFeaturedResultsSetRequest withQueryTexts(Collection<String> queryTexts)
A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.
queryTexts
- A list of queries for featuring results. For more information on the list of queries, see FeaturedResultsSet.public List<FeaturedDocument> getFeaturedDocuments()
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
public void setFeaturedDocuments(Collection<FeaturedDocument> featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
featuredDocuments
- A list of document IDs for the documents you want to feature at the top of the search results page. For
more information on the list of featured documents, see FeaturedResultsSet.public UpdateFeaturedResultsSetRequest withFeaturedDocuments(FeaturedDocument... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
NOTE: This method appends the values to the existing list (if any). Use
setFeaturedDocuments(java.util.Collection)
or withFeaturedDocuments(java.util.Collection)
if
you want to override the existing values.
featuredDocuments
- A list of document IDs for the documents you want to feature at the top of the search results page. For
more information on the list of featured documents, see FeaturedResultsSet.public UpdateFeaturedResultsSetRequest withFeaturedDocuments(Collection<FeaturedDocument> featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page. For more information on the list of featured documents, see FeaturedResultsSet.
featuredDocuments
- A list of document IDs for the documents you want to feature at the top of the search results page. For
more information on the list of featured documents, see FeaturedResultsSet.public String toString()
toString
in class Object
Object.toString()
public UpdateFeaturedResultsSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()