Interface DocumentVersionLifecycleUserActionMetadataRequest.Builder
- Enclosing interface:
- DocumentVersionLifecycleUserActionMetadataRequest
public static interface DocumentVersionLifecycleUserActionMetadataRequest.Builder
Creates an instance of
DocumentVersionLifecycleUserActionMetadataRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Retrieves a completedDocumentVersionLifecycleUserActionMetadataRequest.withDocumentId(String documentId) Optional: Sets the document ID of the document associated with the requested document lifecycle user actions.withDocumentVersionId(String documentVersionId) Optional: Sets the document version ID of the specific document version associated with the requested document lifecycle user actions.
-
Method Details
-
withDocumentId
Optional: Sets the document ID of the document associated with the requested document lifecycle user actions. Cannot be null or empty. For example,951.- Parameters:
documentId- the document's ID value- Returns:
- this
DocumentVersionLifecycleUserActionMetadataRequest.Builder
-
withDocumentVersionId
DocumentVersionLifecycleUserActionMetadataRequest.Builder withDocumentVersionId(String documentVersionId) Optional: Sets the document version ID of the specific document version associated with the requested document lifecycle user actions. Cannot be null or empty. For example,951_0_1.- Parameters:
documentVersionId- the specific document version's ID value- Returns:
- this
DocumentVersionLifecycleUserActionMetadataRequest.Builder
-
build
Retrieves a completedDocumentVersionLifecycleUserActionMetadataRequest.- Returns:
- this completed
DocumentVersionLifecycleUserActionMetadataRequest - Throws:
RuntimeException- if neither the document ID nor the document version ID is exclusively provided
-