@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScoreAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides a relative ranking that indicates how confident Amazon Kendra is that the response is relevant to the query.
| Constructor and Description |
|---|
ScoreAttributes() |
| Modifier and Type | Method and Description |
|---|---|
ScoreAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getScoreConfidence()
A relative ranking for how relevant the response is to the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setScoreConfidence(String scoreConfidence)
A relative ranking for how relevant the response is to the query.
|
String |
toString()
Returns a string representation of this object.
|
ScoreAttributes |
withScoreConfidence(ScoreConfidence scoreConfidence)
A relative ranking for how relevant the response is to the query.
|
ScoreAttributes |
withScoreConfidence(String scoreConfidence)
A relative ranking for how relevant the response is to the query.
|
public void setScoreConfidence(String scoreConfidence)
A relative ranking for how relevant the response is to the query.
scoreConfidence - A relative ranking for how relevant the response is to the query.ScoreConfidencepublic String getScoreConfidence()
A relative ranking for how relevant the response is to the query.
ScoreConfidencepublic ScoreAttributes withScoreConfidence(String scoreConfidence)
A relative ranking for how relevant the response is to the query.
scoreConfidence - A relative ranking for how relevant the response is to the query.ScoreConfidencepublic ScoreAttributes withScoreConfidence(ScoreConfidence scoreConfidence)
A relative ranking for how relevant the response is to the query.
scoreConfidence - A relative ranking for how relevant the response is to the query.ScoreConfidencepublic String toString()
toString in class ObjectObject.toString()public ScoreAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.