Class IntentConfidence
- java.lang.Object
-
- software.amazon.awssdk.services.lexruntime.model.IntentConfidence
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IntentConfidence.Builder,IntentConfidence>
@Generated("software.amazon.awssdk:codegen") public final class IntentConfidence extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IntentConfidence.Builder,IntentConfidence>
Provides a score that indicates the confidence that Amazon Lex has that an intent is the one that satisfies the user's intent.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIntentConfidence.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IntentConfidence.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doublescore()A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent.List<SdkField<?>>sdkFields()static Class<? extends IntentConfidence.Builder>serializableBuilderClass()IntentConfidence.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
score
public final 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 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.
-
toBuilder
public IntentConfidence.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IntentConfidence.Builder,IntentConfidence>
-
builder
public static IntentConfidence.Builder builder()
-
serializableBuilderClass
public static Class<? extends IntentConfidence.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-