@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
 API to provide relevance information.
 
| Constructor and Description | 
|---|
| RelevanceFeedback() | 
| Modifier and Type | Method and Description | 
|---|---|
| RelevanceFeedback | clone() | 
| boolean | equals(Object obj) | 
| String | getRelevanceValue()
 Whether the document was relevant or not relevant to the search. | 
| String | getResultId()
 The identifier of the search result that the user provided relevance feedback for. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setRelevanceValue(String relevanceValue)
 Whether the document was relevant or not relevant to the search. | 
| void | setResultId(String resultId)
 The 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 the document was relevant or not relevant to the search. | 
| RelevanceFeedback | withRelevanceValue(String relevanceValue)
 Whether the document was relevant or not relevant to the search. | 
| RelevanceFeedback | withResultId(String resultId)
 The identifier of the search result that the user provided relevance feedback for. | 
public void setResultId(String resultId)
The identifier of the search result that the user provided relevance feedback for.
resultId - The identifier of the search result that the user provided relevance feedback for.public String getResultId()
The identifier of the search result that the user provided relevance feedback for.
public RelevanceFeedback withResultId(String resultId)
The identifier of the search result that the user provided relevance feedback for.
resultId - The identifier of the search result that the user provided relevance feedback for.public void setRelevanceValue(String relevanceValue)
Whether the document was relevant or not relevant to the search.
relevanceValue - Whether the document was relevant or not relevant to the search.RelevanceTypepublic String getRelevanceValue()
Whether the document was relevant or not relevant to the search.
RelevanceTypepublic RelevanceFeedback withRelevanceValue(String relevanceValue)
Whether the document was relevant or not relevant to the search.
relevanceValue - Whether the document was relevant or not relevant to the search.RelevanceTypepublic RelevanceFeedback withRelevanceValue(RelevanceType relevanceValue)
Whether the document was relevant or not relevant to the search.
relevanceValue - Whether the 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.