Class ConversationLevelIntentClassificationResultItem
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.ConversationLevelIntentClassificationResultItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConversationLevelIntentClassificationResultItem.Builder,ConversationLevelIntentClassificationResultItem>
@Generated("software.amazon.awssdk:codegen") public final class ConversationLevelIntentClassificationResultItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConversationLevelIntentClassificationResultItem.Builder,ConversationLevelIntentClassificationResultItem>
The item listing the evaluation of intent level success or failure.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConversationLevelIntentClassificationResultItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationLevelIntentClassificationResultItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringintentName()The intent name used in the evaluation of intent level success or failure.TestResultMatchStatusmatchResult()The number of times the specific intent is used in the evaluation of intent level success or failure.StringmatchResultAsString()The number of times the specific intent is used in the evaluation of intent level success or failure.List<SdkField<?>>sdkFields()static Class<? extends ConversationLevelIntentClassificationResultItem.Builder>serializableBuilderClass()ConversationLevelIntentClassificationResultItem.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
-
intentName
public final String intentName()
The intent name used in the evaluation of intent level success or failure.
- Returns:
- The intent name used in the evaluation of intent level success or failure.
-
matchResult
public final TestResultMatchStatus matchResult()
The number of times the specific intent is used in the evaluation of intent level success or failure.
If the service returns an enum value that is not available in the current SDK version,
matchResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommatchResultAsString().- Returns:
- The number of times the specific intent is used in the evaluation of intent level success or failure.
- See Also:
TestResultMatchStatus
-
matchResultAsString
public final String matchResultAsString()
The number of times the specific intent is used in the evaluation of intent level success or failure.
If the service returns an enum value that is not available in the current SDK version,
matchResultwill returnTestResultMatchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommatchResultAsString().- Returns:
- The number of times the specific intent is used in the evaluation of intent level success or failure.
- See Also:
TestResultMatchStatus
-
toBuilder
public ConversationLevelIntentClassificationResultItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConversationLevelIntentClassificationResultItem.Builder,ConversationLevelIntentClassificationResultItem>
-
builder
public static ConversationLevelIntentClassificationResultItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConversationLevelIntentClassificationResultItem.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.
-
-