Interface ListIndicesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListIndicesResponse.Builder,ListIndicesResponse>, QBusinessResponse.Builder, SdkBuilder<ListIndicesResponse.Builder,ListIndicesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListIndicesResponse

public static interface ListIndicesResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListIndicesResponse.Builder,ListIndicesResponse>
  • Method Details

    • nextToken

      ListIndicesResponse.Builder nextToken(String nextToken)

      If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.

      Parameters:
      nextToken - If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • indices

      An array of information on the items in one or more indexes.

      Parameters:
      indices - An array of information on the items in one or more indexes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • indices

      ListIndicesResponse.Builder indices(Index... indices)

      An array of information on the items in one or more indexes.

      Parameters:
      indices - An array of information on the items in one or more indexes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • indices

      An array of information on the items in one or more indexes.

      This is a convenience method that creates an instance of the Index.Builder avoiding the need to create one manually via Index.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to indices(List<Index>).

      Parameters:
      indices - a consumer that will call methods on Index.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: