Interface SearchPromptsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<SearchPromptsResponse.Builder,
,SearchPromptsResponse> SdkBuilder<SearchPromptsResponse.Builder,
,SearchPromptsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchPromptsResponse
public static interface SearchPromptsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchPromptsResponse.Builder,SearchPromptsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount
(Long approximateTotalCount) The total number of quick connects which matched your search query.If there are additional results, this is the token for the next set of results.prompts
(Collection<Prompt> prompts) Information about the prompts.prompts
(Consumer<Prompt.Builder>... prompts) Information about the prompts.Information about the prompts.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
prompts
Information about the prompts.
- Parameters:
prompts
- Information about the prompts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prompts
Information about the prompts.
- Parameters:
prompts
- Information about the prompts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prompts
Information about the prompts.
This is a convenience method that creates an instance of thePrompt.Builder
avoiding the need to create one manually viaPrompt.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprompts(List<Prompt>)
.- Parameters:
prompts
- a consumer that will call methods onPrompt.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateTotalCount
The total number of quick connects which matched your search query.
- Parameters:
approximateTotalCount
- The total number of quick connects which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-