@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 matches 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 well the response matches the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setScoreConfidence(String scoreConfidence)
A relative ranking for how well the response matches the query.
|
String |
toString()
Returns a string representation of this object.
|
ScoreAttributes |
withScoreConfidence(ScoreConfidence scoreConfidence)
A relative ranking for how well the response matches the query.
|
ScoreAttributes |
withScoreConfidence(String scoreConfidence)
A relative ranking for how well the response matches the query.
|
public void setScoreConfidence(String scoreConfidence)
A relative ranking for how well the response matches the query.
scoreConfidence - A relative ranking for how well the response matches the query.ScoreConfidencepublic String getScoreConfidence()
A relative ranking for how well the response matches the query.
ScoreConfidencepublic ScoreAttributes withScoreConfidence(String scoreConfidence)
A relative ranking for how well the response matches the query.
scoreConfidence - A relative ranking for how well the response matches the query.ScoreConfidencepublic ScoreAttributes withScoreConfidence(ScoreConfidence scoreConfidence)
A relative ranking for how well the response matches the query.
scoreConfidence - A relative ranking for how well the response matches the query.ScoreConfidencepublic String toString()
toString in class ObjectObject.toString()public ScoreAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.