Interface ListIndicesResponse.Builder

    • Method Detail

      • 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

        ListIndicesResponse.Builder indices​(Collection<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

        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

        ListIndicesResponse.Builder indices​(Consumer<Index.Builder>... 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).

        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:
        #indices(java.util.Collection)