Interface DescribeDocumentVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDocumentVersionsResponse.Builder,
,DescribeDocumentVersionsResponse> SdkBuilder<DescribeDocumentVersionsResponse.Builder,
,DescribeDocumentVersionsResponse> SdkPojo
,SdkResponse.Builder
,WorkDocsResponse.Builder
- Enclosing class:
DescribeDocumentVersionsResponse
public static interface DescribeDocumentVersionsResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDocumentVersionsResponse.Builder,DescribeDocumentVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentVersions
(Collection<DocumentVersionMetadata> documentVersions) The document versions.documentVersions
(Consumer<DocumentVersionMetadata.Builder>... documentVersions) The document versions.documentVersions
(DocumentVersionMetadata... documentVersions) The document versions.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
-
documentVersions
DescribeDocumentVersionsResponse.Builder documentVersions(Collection<DocumentVersionMetadata> documentVersions) The document versions.
- Parameters:
documentVersions
- The document versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersions
DescribeDocumentVersionsResponse.Builder documentVersions(DocumentVersionMetadata... documentVersions) The document versions.
- Parameters:
documentVersions
- The document versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersions
DescribeDocumentVersionsResponse.Builder documentVersions(Consumer<DocumentVersionMetadata.Builder>... documentVersions) The document versions.
This is a convenience method that creates an instance of theDocumentVersionMetadata.Builder
avoiding the need to create one manually viaDocumentVersionMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentVersions(List<DocumentVersionMetadata>)
.- Parameters:
documentVersions
- a consumer that will call methods onDocumentVersionMetadata.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.
-