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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourcesResponse.Builderdocuments(Collection<DocumentMetadata> documents)The documents in the specified collection.GetResourcesResponse.Builderdocuments(Consumer<DocumentMetadata.Builder>... documents)The documents in the specified collection.GetResourcesResponse.Builderdocuments(DocumentMetadata... documents)The documents in the specified collection.GetResourcesResponse.Builderfolders(Collection<FolderMetadata> folders)The folders in the specified folder.GetResourcesResponse.Builderfolders(Consumer<FolderMetadata.Builder>... folders)The folders in the specified folder.GetResourcesResponse.Builderfolders(FolderMetadata... folders)The folders in the specified folder.GetResourcesResponse.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
GetResourcesResponse.Builder folders(Collection<FolderMetadata> 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
GetResourcesResponse.Builder folders(FolderMetadata... 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
GetResourcesResponse.Builder folders(Consumer<FolderMetadata.Builder>... folders)
The folders 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
GetResourcesResponse.Builder documents(Collection<DocumentMetadata> 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
GetResourcesResponse.Builder documents(DocumentMetadata... 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
GetResourcesResponse.Builder documents(Consumer<DocumentMetadata.Builder>... documents)
The documents in the specified collection.
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
GetResourcesResponse.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.
-
-