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 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 the Prompt.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<Prompt>).

      Parameters:
      prompts - a consumer that will call methods on Prompt.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.