Interface SearchResourcesResponse.Builder

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

public static interface SearchResourcesResponse.Builder extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<SearchResourcesResponse.Builder,SearchResourcesResponse>
  • Method Details

    • items

      List of Documents, Folders, Comments, and Document Versions matching the query.

      Parameters:
      items - List of Documents, Folders, Comments, and Document Versions matching the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      List of Documents, Folders, Comments, and Document Versions matching the query.

      Parameters:
      items - List of Documents, Folders, Comments, and Document Versions matching the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      List of Documents, Folders, Comments, and Document Versions matching the query.

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

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

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

      The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

      Parameters:
      marker - The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.