Interface ConversationLevelTestResults.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConversationLevelTestResults.Builder,
,ConversationLevelTestResults> SdkBuilder<ConversationLevelTestResults.Builder,
,ConversationLevelTestResults> SdkPojo
- Enclosing class:
ConversationLevelTestResults
public static interface ConversationLevelTestResults.Builder
extends SdkPojo, CopyableBuilder<ConversationLevelTestResults.Builder,ConversationLevelTestResults>
-
Method Summary
Modifier and TypeMethodDescriptionThe item list in the test set results data at the conversation level.items
(Consumer<ConversationLevelTestResultItem.Builder>... items) The item list in the test set results data at the conversation level.items
(ConversationLevelTestResultItem... items) The item list in the test set results data at the conversation level.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 Details
-
items
The item list in the test set results data at the conversation level.
- Parameters:
items
- The item list in the test set results data at the conversation level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The item list in the test set results data at the conversation level.
- Parameters:
items
- The item list in the test set results data at the conversation level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ConversationLevelTestResults.Builder items(Consumer<ConversationLevelTestResultItem.Builder>... items) The item list in the test set results data at the conversation level.
This is a convenience method that creates an instance of theConversationLevelTestResultItem.Builder
avoiding the need to create one manually viaConversationLevelTestResultItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ConversationLevelTestResultItem>)
.- Parameters:
items
- a consumer that will call methods onConversationLevelTestResultItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-