@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultData extends Object implements Serializable, Cloneable, StructuredPojo
Information about the result.
Constructor and Description |
---|
ResultData() |
Modifier and Type | Method and Description |
---|---|
ResultData |
clone() |
boolean |
equals(Object obj) |
Document |
getDocument()
The document.
|
Double |
getRelevanceScore()
The relevance score of the results.
|
String |
getResultId()
The identifier of the result data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocument(Document document)
The document.
|
void |
setRelevanceScore(Double relevanceScore)
The relevance score of the results.
|
void |
setResultId(String resultId)
The identifier of the result data.
|
String |
toString()
Returns a string representation of this object.
|
ResultData |
withDocument(Document document)
The document.
|
ResultData |
withRelevanceScore(Double relevanceScore)
The relevance score of the results.
|
ResultData |
withResultId(String resultId)
The identifier of the result data.
|
public void setDocument(Document document)
The document.
document
- The document.public Document getDocument()
The document.
public ResultData withDocument(Document document)
The document.
document
- The document.public void setRelevanceScore(Double relevanceScore)
The relevance score of the results.
relevanceScore
- The relevance score of the results.public Double getRelevanceScore()
The relevance score of the results.
public ResultData withRelevanceScore(Double relevanceScore)
The relevance score of the results.
relevanceScore
- The relevance score of the results.public void setResultId(String resultId)
The identifier of the result data.
resultId
- The identifier of the result data.public String getResultId()
The identifier of the result data.
public ResultData withResultId(String resultId)
The identifier of the result data.
resultId
- The identifier of the result data.public String toString()
toString
in class Object
Object.toString()
public ResultData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.