Package io.camunda.client.api.command
Interface CreateDocumentLinkCommandStep1
- All Superinterfaces:
FinalCommandStep<DocumentLinkResponse>
- All Known Implementing Classes:
CreateDocumentLinkCommandImpl
@ExperimentalApi("https://github.com/camunda/issues/issues/841")
public interface CreateDocumentLinkCommandStep1
extends FinalCommandStep<DocumentLinkResponse>
Command to create a document link in the document store.
-
Method Summary
Modifier and TypeMethodDescriptioncontentHash(String contentHash) Sets the documents content hash.Sets the document store ID.timeToLive(Duration timeToLive) Sets the document link TTL.Methods inherited from interface io.camunda.client.api.command.FinalCommandStep
requestTimeout, send
-
Method Details
-
storeId
Sets the document store ID. If not set, the default document store for the cluster will be used.- Parameters:
storeId- the document store ID
-
timeToLive
Sets the document link TTL. If not set, the default TTL for the document store will be used. The TTL must be a positive duration.- Parameters:
timeToLive- the time to live of the document link
-
contentHash
Sets the documents content hash.- Parameters:
contentHash- the documents content Hash
-