public class SearchIndexRequest extends AmazonWebServiceRequest implements java.io.Serializable
The query search index.
Constructor and Description |
---|
SearchIndexRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIndexName()
The search index name.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return at one time.
|
java.lang.String |
getNextToken()
The token used to get the next set of results, or
null if
there are no additional results. |
java.lang.String |
getQueryString()
The search query string.
|
java.lang.String |
getQueryVersion()
The query version.
|
int |
hashCode() |
void |
setIndexName(java.lang.String indexName)
The search index name.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(java.lang.String nextToken)
The token used to get the next set of results, or
null if
there are no additional results. |
void |
setQueryString(java.lang.String queryString)
The search query string.
|
void |
setQueryVersion(java.lang.String queryVersion)
The query version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchIndexRequest |
withIndexName(java.lang.String indexName)
The search index name.
|
SearchIndexRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
SearchIndexRequest |
withNextToken(java.lang.String nextToken)
The token used to get the next set of results, or
null if
there are no additional results. |
SearchIndexRequest |
withQueryString(java.lang.String queryString)
The search query string.
|
SearchIndexRequest |
withQueryVersion(java.lang.String queryVersion)
The query version.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getIndexName()
The search index name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The search index name.
public void setIndexName(java.lang.String indexName)
The search index name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName
- The search index name.
public SearchIndexRequest withIndexName(java.lang.String indexName)
The search index name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
indexName
- The search index name.
public java.lang.String getQueryString()
The search query string.
Constraints:
Length: 1 -
The search query string.
public void setQueryString(java.lang.String queryString)
The search query string.
Constraints:
Length: 1 -
queryString
- The search query string.
public SearchIndexRequest withQueryString(java.lang.String queryString)
The search query string.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
queryString
- The search query string.
public java.lang.String getNextToken()
The token used to get the next set of results, or null
if
there are no additional results.
The token used to get the next set of results, or
null
if there are no additional results.
public void setNextToken(java.lang.String nextToken)
The token used to get the next set of results, or null
if
there are no additional results.
nextToken
-
The token used to get the next set of results, or
null
if there are no additional results.
public SearchIndexRequest withNextToken(java.lang.String nextToken)
The token used to get the next set of results, or null
if
there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken
-
The token used to get the next set of results, or
null
if there are no additional results.
public java.lang.Integer getMaxResults()
The maximum number of results to return at one time.
Constraints:
Range: 1 - 500
The maximum number of results to return at one time.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
Constraints:
Range: 1 - 500
maxResults
- The maximum number of results to return at one time.
public SearchIndexRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 500
maxResults
- The maximum number of results to return at one time.
public java.lang.String getQueryVersion()
The query version.
The query version.
public void setQueryVersion(java.lang.String queryVersion)
The query version.
queryVersion
- The query version.
public SearchIndexRequest withQueryVersion(java.lang.String queryVersion)
The query version.
Returns a reference to this object so that method calls can be chained together.
queryVersion
- The query version.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.