Interface IntentClassificationTestResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IntentClassificationTestResultItem.Builder,IntentClassificationTestResultItem>,SdkBuilder<IntentClassificationTestResultItem.Builder,IntentClassificationTestResultItem>,SdkPojo
- Enclosing class:
- IntentClassificationTestResultItem
public static interface IntentClassificationTestResultItem.Builder extends SdkPojo, CopyableBuilder<IntentClassificationTestResultItem.Builder,IntentClassificationTestResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IntentClassificationTestResultItem.BuilderintentName(String intentName)The name of the intent.IntentClassificationTestResultItem.BuildermultiTurnConversation(Boolean multiTurnConversation)Indicates whether the conversation involves multiple turns or not.default IntentClassificationTestResultItem.BuilderresultCounts(Consumer<IntentClassificationTestResultItemCounts.Builder> resultCounts)The result of the intent classification test.IntentClassificationTestResultItem.BuilderresultCounts(IntentClassificationTestResultItemCounts resultCounts)The result of the intent classification test.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
intentName
IntentClassificationTestResultItem.Builder intentName(String intentName)
The name of the intent.
- Parameters:
intentName- The name of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiTurnConversation
IntentClassificationTestResultItem.Builder multiTurnConversation(Boolean multiTurnConversation)
Indicates whether the conversation involves multiple turns or not.
- Parameters:
multiTurnConversation- Indicates whether the conversation involves multiple turns or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultCounts
IntentClassificationTestResultItem.Builder resultCounts(IntentClassificationTestResultItemCounts resultCounts)
The result of the intent classification test.
- Parameters:
resultCounts- The result of the intent classification test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultCounts
default IntentClassificationTestResultItem.Builder resultCounts(Consumer<IntentClassificationTestResultItemCounts.Builder> resultCounts)
The result of the intent classification test.
This is a convenience method that creates an instance of theIntentClassificationTestResultItemCounts.Builderavoiding the need to create one manually viaIntentClassificationTestResultItemCounts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultCounts(IntentClassificationTestResultItemCounts).- Parameters:
resultCounts- a consumer that will call methods onIntentClassificationTestResultItemCounts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resultCounts(IntentClassificationTestResultItemCounts)
-
-