Interface ListSearchJobResultsResponse.Builder

  • Method Details

    • results

      The results consist of either EBSResultItem or S3ResultItem.

      Parameters:
      results - The results consist of either EBSResultItem or S3ResultItem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      The results consist of either EBSResultItem or S3ResultItem.

      Parameters:
      results - The results consist of either EBSResultItem or S3ResultItem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • results

      The results consist of either EBSResultItem or S3ResultItem.

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

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

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

      The next item following a partial list of search job results.

      For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

      Parameters:
      nextToken - The next item following a partial list of search job results.

      For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

      Returns:
      Returns a reference to this object so that method calls can be chained together.