Interface ListConversationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListConversationsResponse.Builder,
,ListConversationsResponse> QBusinessResponse.Builder
,SdkBuilder<ListConversationsResponse.Builder,
,ListConversationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListConversationsResponse
@Mutable
@NotThreadSafe
public static interface ListConversationsResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListConversationsResponse.Builder,ListConversationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconversations
(Collection<Conversation> conversations) An array of summary information on the configuration of one or more Amazon Q Business web experiences.conversations
(Consumer<Conversation.Builder>... conversations) An array of summary information on the configuration of one or more Amazon Q Business web experiences.conversations
(Conversation... conversations) An array of summary information on the configuration of one or more Amazon Q Business web experiences.If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.
- Parameters:
nextToken
- If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversations
An array of summary information on the configuration of one or more Amazon Q Business web experiences.
- Parameters:
conversations
- An array of summary information on the configuration of one or more Amazon Q Business web experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversations
An array of summary information on the configuration of one or more Amazon Q Business web experiences.
- Parameters:
conversations
- An array of summary information on the configuration of one or more Amazon Q Business web experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversations
An array of summary information on the configuration of one or more Amazon Q Business web experiences.
This is a convenience method that creates an instance of theConversation.Builder
avoiding the need to create one manually viaConversation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconversations(List<Conversation>)
.- Parameters:
conversations
- a consumer that will call methods onConversation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-