public static class DeleteDocumentOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
DeleteDocumentOptions.Builder()
Instantiates a new builder.
|
DeleteDocumentOptions.Builder(java.lang.String environmentId,
java.lang.String collectionId,
java.lang.String documentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DeleteDocumentOptions |
build()
Builds a DeleteDocumentOptions.
|
DeleteDocumentOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
DeleteDocumentOptions.Builder |
documentId(java.lang.String documentId)
Set the documentId.
|
DeleteDocumentOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
public DeleteDocumentOptions.Builder()
public DeleteDocumentOptions.Builder(java.lang.String environmentId, java.lang.String collectionId, java.lang.String documentId)
environmentId
- the environmentIdcollectionId
- the collectionIddocumentId
- the documentIdpublic DeleteDocumentOptions build()
public DeleteDocumentOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic DeleteDocumentOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic DeleteDocumentOptions.Builder documentId(java.lang.String documentId)
documentId
- the documentId