Interface GetResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetResourcesResponse.Builder,
,GetResourcesResponse> SdkBuilder<GetResourcesResponse.Builder,
,GetResourcesResponse> SdkPojo
,SdkResponse.Builder
,WorkDocsResponse.Builder
- Enclosing class:
GetResourcesResponse
public static interface GetResourcesResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<GetResourcesResponse.Builder,GetResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondocuments
(Collection<DocumentMetadata> documents) The documents in the specified collection.documents
(Consumer<DocumentMetadata.Builder>... documents) The documents in the specified collection.documents
(DocumentMetadata... documents) The documents in the specified collection.folders
(Collection<FolderMetadata> folders) The folders in the specified folder.folders
(Consumer<FolderMetadata.Builder>... folders) The folders in the specified folder.folders
(FolderMetadata... folders) The folders in the specified folder.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
-
folders
The folders in the specified folder.
- Parameters:
folders
- The folders in the specified folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folders
The folders in the specified folder.
- Parameters:
folders
- The folders in the specified folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folders
The folders in the specified folder.
This is a convenience method that creates an instance of theFolderMetadata.Builder
avoiding the need to create one manually viaFolderMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofolders(List<FolderMetadata>)
.- Parameters:
folders
- a consumer that will call methods onFolderMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documents
The documents in the specified collection.
- Parameters:
documents
- The documents in the specified collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The documents in the specified collection.
- Parameters:
documents
- The documents in the specified collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The documents in the specified collection.
This is a convenience method that creates an instance of theDocumentMetadata.Builder
avoiding the need to create one manually viaDocumentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocuments(List<DocumentMetadata>)
.- Parameters:
documents
- a consumer that will call methods onDocumentMetadata.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.
-