public class IntentConfidence
extends java.lang.Object
implements java.io.Serializable
Provides a score that indicates the confidence that Amazon Lex has that an intent is the one that satisfies the user's intent.
| Constructor and Description |
|---|
IntentConfidence() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getScore()
A score that indicates how confident Amazon Lex is that an intent
satisfies the user's intent.
|
int |
hashCode() |
void |
setScore(java.lang.Double score)
A score that indicates how confident Amazon Lex is that an intent
satisfies the user's intent.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IntentConfidence |
withScore(java.lang.Double score)
A score that indicates how confident Amazon Lex is that an intent
satisfies the user's intent.
|
public java.lang.Double getScore()
A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
public void setScore(java.lang.Double score)
A score that indicates how confident Amazon Lex 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 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
public IntentConfidence withScore(java.lang.Double score)
A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
Returns a reference to this object so that method calls can be chained together.
score - A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.