@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFeaturedResultsSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFeaturedResultsSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFeaturedResultsSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A token that you provide to identify the request to create a set of featured results.
|
String |
getDescription()
A 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 |
getFeaturedResultsSetName()
A name for the set of featured results.
|
String |
getIndexId()
The identifier of the index that you want to use for featuring results.
|
List<String> |
getQueryTexts()
A list of queries for featuring results.
|
String |
getStatus()
The current status of the set of featured results.
|
List<Tag> |
getTags()
A list of key-value pairs that identify or categorize the featured results set.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A token that you provide to identify the request to create a set of featured results.
|
void |
setDescription(String description)
A 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 |
setFeaturedResultsSetName(String featuredResultsSetName)
A name for the set of featured results.
|
void |
setIndexId(String indexId)
The identifier of the index that you want to use for featuring results.
|
void |
setQueryTexts(Collection<String> queryTexts)
A list of queries for featuring results.
|
void |
setStatus(String status)
The current status of the set of featured results.
|
void |
setTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the featured results set.
|
String |
toString()
Returns a string representation of this object.
|
CreateFeaturedResultsSetRequest |
withClientToken(String clientToken)
A token that you provide to identify the request to create a set of featured results.
|
CreateFeaturedResultsSetRequest |
withDescription(String description)
A description for the set of featured results.
|
CreateFeaturedResultsSetRequest |
withFeaturedDocuments(Collection<FeaturedDocument> featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
CreateFeaturedResultsSetRequest |
withFeaturedDocuments(FeaturedDocument... featuredDocuments)
A list of document IDs for the documents you want to feature at the top of the search results page.
|
CreateFeaturedResultsSetRequest |
withFeaturedResultsSetName(String featuredResultsSetName)
A name for the set of featured results.
|
CreateFeaturedResultsSetRequest |
withIndexId(String indexId)
The identifier of the index that you want to use for featuring results.
|
CreateFeaturedResultsSetRequest |
withQueryTexts(Collection<String> queryTexts)
A list of queries for featuring results.
|
CreateFeaturedResultsSetRequest |
withQueryTexts(String... queryTexts)
A list of queries for featuring results.
|
CreateFeaturedResultsSetRequest |
withStatus(FeaturedResultsSetStatus status)
The current status of the set of featured results.
|
CreateFeaturedResultsSetRequest |
withStatus(String status)
The current status of the set of featured results.
|
CreateFeaturedResultsSetRequest |
withTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the featured results set.
|
CreateFeaturedResultsSetRequest |
withTags(Tag... tags)
A list of key-value pairs that identify or categorize the featured results set.
|
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 that you want to use for featuring results.
indexId
- The identifier of the index that you want to use for featuring results.public String getIndexId()
The identifier of the index that you want to use for featuring results.
public CreateFeaturedResultsSetRequest withIndexId(String indexId)
The identifier of the index that you want to use for featuring results.
indexId
- The identifier of the index that you want to use for featuring results.public void setFeaturedResultsSetName(String featuredResultsSetName)
A name for the set of featured results.
featuredResultsSetName
- A name for the set of featured results.public String getFeaturedResultsSetName()
A name for the set of featured results.
public CreateFeaturedResultsSetRequest withFeaturedResultsSetName(String featuredResultsSetName)
A name for the set of featured results.
featuredResultsSetName
- A name for the set of featured results.public void setDescription(String description)
A description for the set of featured results.
description
- A description for the set of featured results.public String getDescription()
A description for the set of featured results.
public CreateFeaturedResultsSetRequest withDescription(String description)
A description for the set of featured results.
description
- A description for the set of featured results.public void setClientToken(String clientToken)
A token that you provide to identify the request to create a set of featured results. Multiple calls to the
CreateFeaturedResultsSet
API with the same client token will create only one featured results set.
clientToken
- A token that you provide to identify the request to create a set of featured results. Multiple calls to
the CreateFeaturedResultsSet
API with the same client token will create only one featured
results set.public String getClientToken()
A token that you provide to identify the request to create a set of featured results. Multiple calls to the
CreateFeaturedResultsSet
API with the same client token will create only one featured results set.
CreateFeaturedResultsSet
API with the same client token will create only one featured
results set.public CreateFeaturedResultsSetRequest withClientToken(String clientToken)
A token that you provide to identify the request to create a set of featured results. Multiple calls to the
CreateFeaturedResultsSet
API with the same client token will create only one featured results set.
clientToken
- A token that you provide to identify the request to create a set of featured results. Multiple calls to
the CreateFeaturedResultsSet
API with the same client token will create only one featured
results set.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 CreateFeaturedResultsSetRequest 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 CreateFeaturedResultsSetRequest 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()
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 CreateFeaturedResultsSetRequest 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 CreateFeaturedResultsSetRequest 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 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 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 documents, see FeaturedResultsSet.public CreateFeaturedResultsSetRequest 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 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 documents, see FeaturedResultsSet.public CreateFeaturedResultsSetRequest 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 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 documents, see FeaturedResultsSet.public List<Tag> getTags()
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.
public void setTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.
tags
- A list of key-value pairs that identify or categorize the featured results set. You can also use tags to
help control access to the featured results set. Tag keys and values can consist of Unicode letters,
digits, white space, and any of the following symbols:_ . : / = + - @.public CreateFeaturedResultsSetRequest withTags(Tag... tags)
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of key-value pairs that identify or categorize the featured results set. You can also use tags to
help control access to the featured results set. Tag keys and values can consist of Unicode letters,
digits, white space, and any of the following symbols:_ . : / = + - @.public CreateFeaturedResultsSetRequest withTags(Collection<Tag> tags)
A list of key-value pairs that identify or categorize the featured results set. You can also use tags to help control access to the featured results set. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols:_ . : / = + - @.
tags
- A list of key-value pairs that identify or categorize the featured results set. You can also use tags to
help control access to the featured results set. Tag keys and values can consist of Unicode letters,
digits, white space, and any of the following symbols:_ . : / = + - @.public String toString()
toString
in class Object
Object.toString()
public CreateFeaturedResultsSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()