@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)
Marshalls this structured data using the given
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.ScoreConfidence
public String getScoreConfidence()
A relative ranking for how well the response matches the query.
ScoreConfidence
public 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.ScoreConfidence
public 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.ScoreConfidence
public String toString()
toString
in class Object
Object.toString()
public ScoreAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.