@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelevanceFeedback extends Object implements Serializable, Cloneable, StructuredPojo
Provides feedback on how relevant a document is to a search. Your application uses the SubmitFeedback operation to provide relevance information.
| Constructor and Description |
|---|
RelevanceFeedback() |
| Modifier and Type | Method and Description |
|---|---|
RelevanceFeedback |
clone() |
boolean |
equals(Object obj) |
String |
getRelevanceValue()
Whether to document was relevant or not relevant to the search.
|
String |
getResultId()
The unique identifier of the search result that the user provided relevance feedback for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRelevanceValue(String relevanceValue)
Whether to document was relevant or not relevant to the search.
|
void |
setResultId(String resultId)
The unique identifier of the search result that the user provided relevance feedback for.
|
String |
toString()
Returns a string representation of this object.
|
RelevanceFeedback |
withRelevanceValue(RelevanceType relevanceValue)
Whether to document was relevant or not relevant to the search.
|
RelevanceFeedback |
withRelevanceValue(String relevanceValue)
Whether to document was relevant or not relevant to the search.
|
RelevanceFeedback |
withResultId(String resultId)
The unique identifier of the search result that the user provided relevance feedback for.
|
public void setResultId(String resultId)
The unique identifier of the search result that the user provided relevance feedback for.
resultId - The unique identifier of the search result that the user provided relevance feedback for.public String getResultId()
The unique identifier of the search result that the user provided relevance feedback for.
public RelevanceFeedback withResultId(String resultId)
The unique identifier of the search result that the user provided relevance feedback for.
resultId - The unique identifier of the search result that the user provided relevance feedback for.public void setRelevanceValue(String relevanceValue)
Whether to document was relevant or not relevant to the search.
relevanceValue - Whether to document was relevant or not relevant to the search.RelevanceTypepublic String getRelevanceValue()
Whether to document was relevant or not relevant to the search.
RelevanceTypepublic RelevanceFeedback withRelevanceValue(String relevanceValue)
Whether to document was relevant or not relevant to the search.
relevanceValue - Whether to document was relevant or not relevant to the search.RelevanceTypepublic RelevanceFeedback withRelevanceValue(RelevanceType relevanceValue)
Whether to document was relevant or not relevant to the search.
relevanceValue - Whether to document was relevant or not relevant to the search.RelevanceTypepublic String toString()
toString in class ObjectObject.toString()public RelevanceFeedback clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.