@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationData extends Object implements Serializable, Cloneable, StructuredPojo
Information about the recommendation.
| Constructor and Description |
|---|
RecommendationData() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationData |
clone() |
boolean |
equals(Object obj) |
Document |
getDocument()
The recommended document.
|
String |
getRecommendationId()
The identifier of the recommendation.
|
String |
getRelevanceLevel()
The relevance level of the recommendation.
|
Double |
getRelevanceScore()
The relevance score of the recommendation.
|
String |
getType()
The type of recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDocument(Document document)
The recommended document.
|
void |
setRecommendationId(String recommendationId)
The identifier of the recommendation.
|
void |
setRelevanceLevel(String relevanceLevel)
The relevance level of the recommendation.
|
void |
setRelevanceScore(Double relevanceScore)
The relevance score of the recommendation.
|
void |
setType(String type)
The type of recommendation.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationData |
withDocument(Document document)
The recommended document.
|
RecommendationData |
withRecommendationId(String recommendationId)
The identifier of the recommendation.
|
RecommendationData |
withRelevanceLevel(RelevanceLevel relevanceLevel)
The relevance level of the recommendation.
|
RecommendationData |
withRelevanceLevel(String relevanceLevel)
The relevance level of the recommendation.
|
RecommendationData |
withRelevanceScore(Double relevanceScore)
The relevance score of the recommendation.
|
RecommendationData |
withType(RecommendationType type)
The type of recommendation.
|
RecommendationData |
withType(String type)
The type of recommendation.
|
public void setDocument(Document document)
The recommended document.
document - The recommended document.public Document getDocument()
The recommended document.
public RecommendationData withDocument(Document document)
The recommended document.
document - The recommended document.public void setRecommendationId(String recommendationId)
The identifier of the recommendation.
recommendationId - The identifier of the recommendation.public String getRecommendationId()
The identifier of the recommendation.
public RecommendationData withRecommendationId(String recommendationId)
The identifier of the recommendation.
recommendationId - The identifier of the recommendation.public void setRelevanceLevel(String relevanceLevel)
The relevance level of the recommendation.
relevanceLevel - The relevance level of the recommendation.RelevanceLevelpublic String getRelevanceLevel()
The relevance level of the recommendation.
RelevanceLevelpublic RecommendationData withRelevanceLevel(String relevanceLevel)
The relevance level of the recommendation.
relevanceLevel - The relevance level of the recommendation.RelevanceLevelpublic RecommendationData withRelevanceLevel(RelevanceLevel relevanceLevel)
The relevance level of the recommendation.
relevanceLevel - The relevance level of the recommendation.RelevanceLevelpublic void setRelevanceScore(Double relevanceScore)
The relevance score of the recommendation.
relevanceScore - The relevance score of the recommendation.public Double getRelevanceScore()
The relevance score of the recommendation.
public RecommendationData withRelevanceScore(Double relevanceScore)
The relevance score of the recommendation.
relevanceScore - The relevance score of the recommendation.public void setType(String type)
The type of recommendation.
type - The type of recommendation.RecommendationTypepublic String getType()
The type of recommendation.
RecommendationTypepublic RecommendationData withType(String type)
The type of recommendation.
type - The type of recommendation.RecommendationTypepublic RecommendationData withType(RecommendationType type)
The type of recommendation.
type - The type of recommendation.RecommendationTypepublic String toString()
toString in class ObjectObject.toString()public RecommendationData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.