@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchIndexRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchIndexRequest() |
Modifier and Type | Method and Description |
---|---|
SearchIndexRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIndexName()
The search index name.
|
Integer |
getMaxResults()
The maximum number of results to return per page at one time.
|
String |
getNextToken()
The token used to get the next set of results, or
null if there are no additional results. |
String |
getQueryString()
The search query string.
|
String |
getQueryVersion()
The query version.
|
int |
hashCode() |
void |
setIndexName(String indexName)
The search index name.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page at one time.
|
void |
setNextToken(String nextToken)
The token used to get the next set of results, or
null if there are no additional results. |
void |
setQueryString(String queryString)
The search query string.
|
void |
setQueryVersion(String queryVersion)
The query version.
|
String |
toString()
Returns a string representation of this object.
|
SearchIndexRequest |
withIndexName(String indexName)
The search index name.
|
SearchIndexRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page at one time.
|
SearchIndexRequest |
withNextToken(String nextToken)
The token used to get the next set of results, or
null if there are no additional results. |
SearchIndexRequest |
withQueryString(String queryString)
The search query string.
|
SearchIndexRequest |
withQueryVersion(String queryVersion)
The query version.
|
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 setIndexName(String indexName)
The search index name.
indexName
- The search index name.public String getIndexName()
The search index name.
public SearchIndexRequest withIndexName(String indexName)
The search index name.
indexName
- The search index name.public void setQueryString(String queryString)
The search query string. For more information about the search query syntax, see Query syntax.
queryString
- The search query string. For more information about the search query syntax, see Query syntax.public String getQueryString()
The search query string. For more information about the search query syntax, see Query syntax.
public SearchIndexRequest withQueryString(String queryString)
The search query string. For more information about the search query syntax, see Query syntax.
queryString
- The search query string. For more information about the search query syntax, see Query syntax.public void setNextToken(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 String getNextToken()
The token used to get the next set of results, or null
if there are no additional results.
null
if there are no additional results.public SearchIndexRequest withNextToken(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 void setMaxResults(Integer maxResults)
The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response
might contain fewer results but will never contain more. You can use
nextToken
to retrieve the next set of results until nextToken
returns
NULL
.
maxResults
- The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The
response might contain fewer results but will never contain more. You can use nextToken
to retrieve the next set of results until nextToken
returns
NULL
.public Integer getMaxResults()
The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response
might contain fewer results but will never contain more. You can use
nextToken
to retrieve the next set of results until nextToken
returns
NULL
.
nextToken
to retrieve the next set of results until nextToken
returns
NULL
.public SearchIndexRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The response
might contain fewer results but will never contain more. You can use
nextToken
to retrieve the next set of results until nextToken
returns
NULL
.
maxResults
- The maximum number of results to return per page at one time. This maximum number cannot exceed 100. The
response might contain fewer results but will never contain more. You can use nextToken
to retrieve the next set of results until nextToken
returns
NULL
.public void setQueryVersion(String queryVersion)
The query version.
queryVersion
- The query version.public String getQueryVersion()
The query version.
public SearchIndexRequest withQueryVersion(String queryVersion)
The query version.
queryVersion
- The query version.public String toString()
toString
in class Object
Object.toString()
public SearchIndexRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()