Interface ConversationContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConversationContext.Builder,
,ConversationContext> SdkBuilder<ConversationContext.Builder,
,ConversationContext> SdkPojo
- Enclosing class:
ConversationContext
@Mutable
@NotThreadSafe
public static interface ConversationContext.Builder
extends SdkPojo, CopyableBuilder<ConversationContext.Builder,ConversationContext>
-
Method Summary
Modifier and TypeMethodDescriptionselfServiceConversationHistory
(Collection<SelfServiceConversationHistory> selfServiceConversationHistory) The self service conversation history before the Amazon Q in Connect session.selfServiceConversationHistory
(Consumer<SelfServiceConversationHistory.Builder>... selfServiceConversationHistory) The self service conversation history before the Amazon Q in Connect session.selfServiceConversationHistory
(SelfServiceConversationHistory... selfServiceConversationHistory) The self service conversation history before the Amazon Q in Connect session.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, sdkFieldNameToField, sdkFields
-
Method Details
-
selfServiceConversationHistory
ConversationContext.Builder selfServiceConversationHistory(Collection<SelfServiceConversationHistory> selfServiceConversationHistory) The self service conversation history before the Amazon Q in Connect session.
- Parameters:
selfServiceConversationHistory
- The self service conversation history before the Amazon Q in Connect session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfServiceConversationHistory
ConversationContext.Builder selfServiceConversationHistory(SelfServiceConversationHistory... selfServiceConversationHistory) The self service conversation history before the Amazon Q in Connect session.
- Parameters:
selfServiceConversationHistory
- The self service conversation history before the Amazon Q in Connect session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfServiceConversationHistory
ConversationContext.Builder selfServiceConversationHistory(Consumer<SelfServiceConversationHistory.Builder>... selfServiceConversationHistory) The self service conversation history before the Amazon Q in Connect session.
This is a convenience method that creates an instance of theSelfServiceConversationHistory.Builder
avoiding the need to create one manually viaSelfServiceConversationHistory.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselfServiceConversationHistory(List<SelfServiceConversationHistory>)
.- Parameters:
selfServiceConversationHistory
- a consumer that will call methods onSelfServiceConversationHistory.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-