@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RescoreRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| RescoreRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| RescoreRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| List<Document> | getDocuments()
 The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on. | 
| String | getRescoreExecutionPlanId()
 The identifier of the rescore execution plan. | 
| String | getSearchQuery()
 The input query from the search service. | 
| int | hashCode() | 
| void | setDocuments(Collection<Document> documents)
 The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on. | 
| void | setRescoreExecutionPlanId(String rescoreExecutionPlanId)
 The identifier of the rescore execution plan. | 
| void | setSearchQuery(String searchQuery)
 The input query from the search service. | 
| String | toString()Returns a string representation of this object. | 
| RescoreRequest | withDocuments(Collection<Document> documents)
 The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on. | 
| RescoreRequest | withDocuments(Document... documents)
 The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on. | 
| RescoreRequest | withRescoreExecutionPlanId(String rescoreExecutionPlanId)
 The identifier of the rescore execution plan. | 
| RescoreRequest | withSearchQuery(String searchQuery)
 The input query from the search service. | 
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, withSdkRequestTimeoutpublic void setRescoreExecutionPlanId(String rescoreExecutionPlanId)
 The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking
 resource used for provisioning the Rescore API.
 
rescoreExecutionPlanId - The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent
        Ranking resource used for provisioning the Rescore API.public String getRescoreExecutionPlanId()
 The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking
 resource used for provisioning the Rescore API.
 
Rescore API.public RescoreRequest withRescoreExecutionPlanId(String rescoreExecutionPlanId)
 The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking
 resource used for provisioning the Rescore API.
 
rescoreExecutionPlanId - The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent
        Ranking resource used for provisioning the Rescore API.public void setSearchQuery(String searchQuery)
The input query from the search service.
searchQuery - The input query from the search service.public String getSearchQuery()
The input query from the search service.
public RescoreRequest withSearchQuery(String searchQuery)
The input query from the search service.
searchQuery - The input query from the search service.public List<Document> getDocuments()
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
public void setDocuments(Collection<Document> documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
documents - The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.public RescoreRequest withDocuments(Document... documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
 NOTE: This method appends the values to the existing list (if any). Use
 setDocuments(java.util.Collection) or withDocuments(java.util.Collection) if you want to
 override the existing values.
 
documents - The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.public RescoreRequest withDocuments(Collection<Document> documents)
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
documents - The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.public String toString()
toString in class ObjectObject.toString()public RescoreRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()