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 Summary
Modifier and TypeMethodDescriptionitems
(Collection<ResponseItem> items) List of Documents, Folders, Comments, and Document Versions matching the query.items
(Consumer<ResponseItem.Builder>... items) List of Documents, Folders, Comments, and Document Versions matching the query.items
(ResponseItem... items) List of Documents, Folders, Comments, and Document Versions matching the query.The marker to use when requesting the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
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 theResponseItem.Builder
avoiding the need to create one manually viaResponseItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ResponseItem>)
.- Parameters:
items
- a consumer that will call methods onResponseItem.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.
-