@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfidenceScore extends Object implements Serializable, Cloneable, StructuredPojo
Provides a score that indicates the confidence that Amazon Lex V2 has that an intent is the one that satisfies the user's intent.
Constructor and Description |
---|
ConfidenceScore() |
Modifier and Type | Method and Description |
---|---|
ConfidenceScore |
clone() |
boolean |
equals(Object obj) |
Double |
getScore()
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setScore(Double score)
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent.
|
String |
toString()
Returns a string representation of this object.
|
ConfidenceScore |
withScore(Double score)
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent.
|
public void setScore(Double score)
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
score
- A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges
between 0.00 and 1.00. Higher scores indicate higher confidence.public Double getScore()
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
public ConfidenceScore withScore(Double score)
A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
score
- A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges
between 0.00 and 1.00. Higher scores indicate higher confidence.public String toString()
toString
in class Object
Object.toString()
public ConfidenceScore clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.