@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RankingData extends Object implements Serializable, Cloneable, StructuredPojo
Details about the source content ranking data.
| Constructor and Description |
|---|
RankingData() |
| Modifier and Type | Method and Description |
|---|---|
RankingData |
clone() |
boolean |
equals(Object obj) |
String |
getRelevanceLevel()
The relevance score of the content.
|
Double |
getRelevanceScore()
The relevance level of the recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRelevanceLevel(String relevanceLevel)
The relevance score of the content.
|
void |
setRelevanceScore(Double relevanceScore)
The relevance level of the recommendation.
|
String |
toString()
Returns a string representation of this object.
|
RankingData |
withRelevanceLevel(RelevanceLevel relevanceLevel)
The relevance score of the content.
|
RankingData |
withRelevanceLevel(String relevanceLevel)
The relevance score of the content.
|
RankingData |
withRelevanceScore(Double relevanceScore)
The relevance level of the recommendation.
|
public void setRelevanceLevel(String relevanceLevel)
The relevance score of the content.
relevanceLevel - The relevance score of the content.RelevanceLevelpublic String getRelevanceLevel()
The relevance score of the content.
RelevanceLevelpublic RankingData withRelevanceLevel(String relevanceLevel)
The relevance score of the content.
relevanceLevel - The relevance score of the content.RelevanceLevelpublic RankingData withRelevanceLevel(RelevanceLevel relevanceLevel)
The relevance score of the content.
relevanceLevel - The relevance score of the content.RelevanceLevelpublic void setRelevanceScore(Double relevanceScore)
The relevance level of the recommendation.
relevanceScore - The relevance level of the recommendation.public Double getRelevanceScore()
The relevance level of the recommendation.
public RankingData withRelevanceScore(Double relevanceScore)
The relevance level of the recommendation.
relevanceScore - The relevance level of the recommendation.public String toString()
toString in class ObjectObject.toString()public RankingData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.