Package com.veeva.vault.sdk.api.document
Interface DocumentBatchCreateRequest.Builder
- Enclosing interface:
- DocumentBatchCreateRequest
public static interface DocumentBatchCreateRequest.Builder
Creates an instance of
DocumentBatchCreateRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Validates and builds aDocumentBatchCreateRequestwithDocumentVersions(List<DocumentVersion> documentVersions) Required: Sets the list of documents to be created in a batch.
-
Method Details
-
withDocumentVersions
Required: Sets the list of documents to be created in a batch.- Parameters:
documentVersions- list ofDocumentVersionto create. Cannot be null or empty.- Returns:
- this
DocumentBatchCreateRequest.Builder
-
build
DocumentBatchCreateRequest build()Validates and builds aDocumentBatchCreateRequest- Returns:
- a
DocumentBatchCreateRequest
-