Interface DescribeFolderContentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFolderContentsResponse.Builder,DescribeFolderContentsResponse>,SdkBuilder<DescribeFolderContentsResponse.Builder,DescribeFolderContentsResponse>,SdkPojo,SdkResponse.Builder,WorkDocsResponse.Builder
- Enclosing class:
- DescribeFolderContentsResponse
public static interface DescribeFolderContentsResponse.Builder extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeFolderContentsResponse.Builder,DescribeFolderContentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeFolderContentsResponse.Builderdocuments(Collection<DocumentMetadata> documents)The documents in the specified folder.DescribeFolderContentsResponse.Builderdocuments(Consumer<DocumentMetadata.Builder>... documents)The documents in the specified folder.DescribeFolderContentsResponse.Builderdocuments(DocumentMetadata... documents)The documents in the specified folder.DescribeFolderContentsResponse.Builderfolders(Collection<FolderMetadata> folders)The subfolders in the specified folder.DescribeFolderContentsResponse.Builderfolders(Consumer<FolderMetadata.Builder>... folders)The subfolders in the specified folder.DescribeFolderContentsResponse.Builderfolders(FolderMetadata... folders)The subfolders in the specified folder.DescribeFolderContentsResponse.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
-
folders
DescribeFolderContentsResponse.Builder folders(Collection<FolderMetadata> folders)
The subfolders in the specified folder.
- Parameters:
folders- The subfolders in the specified folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folders
DescribeFolderContentsResponse.Builder folders(FolderMetadata... folders)
The subfolders in the specified folder.
- Parameters:
folders- The subfolders in the specified folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folders
DescribeFolderContentsResponse.Builder folders(Consumer<FolderMetadata.Builder>... folders)
The subfolders in the specified folder.
This is a convenience method that creates an instance of theFolderMetadata.Builderavoiding the need to create one manually viaFolderMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#folders(List.) - 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:
#folders(java.util.Collection)
-
documents
DescribeFolderContentsResponse.Builder documents(Collection<DocumentMetadata> documents)
The documents in the specified folder.
- Parameters:
documents- The documents in the specified folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
DescribeFolderContentsResponse.Builder documents(DocumentMetadata... documents)
The documents in the specified folder.
- Parameters:
documents- The documents in the specified folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
DescribeFolderContentsResponse.Builder documents(Consumer<DocumentMetadata.Builder>... documents)
The documents in the specified folder.
This is a convenience method that creates an instance of theDocumentMetadata.Builderavoiding the need to create one manually viaDocumentMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#documents(List.) - 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:
#documents(java.util.Collection)
-
marker
DescribeFolderContentsResponse.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.
-
-