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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResourcesResponse.Builderitems(Collection<ResponseItem> items)List of Documents, Folders, Comments, and Document Versions matching the query.SearchResourcesResponse.Builderitems(Consumer<ResponseItem.Builder>... items)List of Documents, Folders, Comments, and Document Versions matching the query.SearchResourcesResponse.Builderitems(ResponseItem... items)List of Documents, Folders, Comments, and Document Versions matching the query.SearchResourcesResponse.Buildermarker(String marker)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 Detail
-
items
SearchResourcesResponse.Builder items(Collection<ResponseItem> 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
SearchResourcesResponse.Builder items(ResponseItem... 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
SearchResourcesResponse.Builder items(Consumer<ResponseItem.Builder>... items)
List of Documents, Folders, Comments, and Document Versions matching the query.
This is a convenience method that creates an instance of theResponseItem.Builderavoiding the need to create one manually viaResponseItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - 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:
#items(java.util.Collection)
-
marker
SearchResourcesResponse.Builder marker(String 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.
-
-