@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.RelevanceLevel
public String getRelevanceLevel()
The relevance level of the recommendation.
RelevanceLevel
public RecommendationData withRelevanceLevel(String relevanceLevel)
The relevance level of the recommendation.
relevanceLevel
- The relevance level of the recommendation.RelevanceLevel
public RecommendationData withRelevanceLevel(RelevanceLevel relevanceLevel)
The relevance level of the recommendation.
relevanceLevel
- The relevance level of the recommendation.RelevanceLevel
public 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.RecommendationType
public String getType()
The type of recommendation.
RecommendationType
public RecommendationData withType(String type)
The type of recommendation.
type
- The type of recommendation.RecommendationType
public RecommendationData withType(RecommendationType type)
The type of recommendation.
type
- The type of recommendation.RecommendationType
public String toString()
toString
in class Object
Object.toString()
public RecommendationData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.