public static interface SearchPromptsResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchPromptsResponse.Builder,SearchPromptsResponse>
| Modifier and Type | Method and Description |
|---|---|
SearchPromptsResponse.Builder |
approximateTotalCount(Long approximateTotalCount)
The total number of quick connects which matched your search query.
|
SearchPromptsResponse.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
SearchPromptsResponse.Builder |
prompts(Collection<Prompt> prompts)
Information about the prompts.
|
SearchPromptsResponse.Builder |
prompts(Consumer<Prompt.Builder>... prompts)
Information about the prompts.
|
SearchPromptsResponse.Builder |
prompts(Prompt... prompts)
Information about the prompts.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchPromptsResponse.Builder prompts(Collection<Prompt> prompts)
Information about the prompts.
prompts - Information about the prompts.SearchPromptsResponse.Builder prompts(Prompt... prompts)
Information about the prompts.
prompts - Information about the prompts.SearchPromptsResponse.Builder prompts(Consumer<Prompt.Builder>... prompts)
Information about the prompts.
This is a convenience method that creates an instance of thePrompt.Builder avoiding the need to create one manually
via Prompt.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #prompts(List.
prompts - a consumer that will call methods on
Prompt.Builder#prompts(java.util.Collection) SearchPromptsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.SearchPromptsResponse.Builder approximateTotalCount(Long approximateTotalCount)
The total number of quick connects which matched your search query.
approximateTotalCount - The total number of quick connects which matched your search query.Copyright © 2023. All rights reserved.