Interface ListConversationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListConversationsResponse.Builder,ListConversationsResponse>,QBusinessResponse.Builder,SdkBuilder<ListConversationsResponse.Builder,ListConversationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListConversationsResponse
public static interface ListConversationsResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListConversationsResponse.Builder,ListConversationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListConversationsResponse.Builderconversations(Collection<Conversation> conversations)An array of summary information on the configuration of one or more Amazon Q web experiences.ListConversationsResponse.Builderconversations(Consumer<Conversation.Builder>... conversations)An array of summary information on the configuration of one or more Amazon Q web experiences.ListConversationsResponse.Builderconversations(Conversation... conversations)An array of summary information on the configuration of one or more Amazon Q web experiences.ListConversationsResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Q 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
conversations
ListConversationsResponse.Builder conversations(Collection<Conversation> conversations)
An array of summary information on the configuration of one or more Amazon Q web experiences.
- Parameters:
conversations- An array of summary information on the configuration of one or more Amazon Q web experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversations
ListConversationsResponse.Builder conversations(Conversation... conversations)
An array of summary information on the configuration of one or more Amazon Q web experiences.
- Parameters:
conversations- An array of summary information on the configuration of one or more Amazon Q web experiences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversations
ListConversationsResponse.Builder conversations(Consumer<Conversation.Builder>... conversations)
An array of summary information on the configuration of one or more Amazon Q web experiences.
This is a convenience method that creates an instance of theConversation.Builderavoiding the need to create one manually viaConversation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#conversations(List.) - 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:
#conversations(java.util.Collection)
-
nextToken
ListConversationsResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Q 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 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.
-
-