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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
prompts
SearchPromptsResponse.Builder prompts(Collection<Prompt> 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
SearchPromptsResponse.Builder prompts(Prompt... 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
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 viaPrompt.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#prompts(List
.) - 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:
#prompts(java.util.Collection
)
-
nextToken
SearchPromptsResponse.Builder nextToken(String 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
SearchPromptsResponse.Builder approximateTotalCount(Long 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.
-
-