Interface ConversationContext.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConversationContext.Builder,ConversationContext>,SdkBuilder<ConversationContext.Builder,ConversationContext>,SdkPojo
- Enclosing class:
- ConversationContext
public static interface ConversationContext.Builder extends SdkPojo, CopyableBuilder<ConversationContext.Builder,ConversationContext>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConversationContext.BuilderselfServiceConversationHistory(Collection<SelfServiceConversationHistory> selfServiceConversationHistory)The self service conversation history before the Amazon Q in Connect session.ConversationContext.BuilderselfServiceConversationHistory(Consumer<SelfServiceConversationHistory.Builder>... selfServiceConversationHistory)The self service conversation history before the Amazon Q in Connect session.ConversationContext.BuilderselfServiceConversationHistory(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 Detail
-
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.Builderavoiding the need to create one manually viaSelfServiceConversationHistory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#selfServiceConversationHistory(List.) - 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:
#selfServiceConversationHistory(java.util.Collection)
-
-