public static class DeleteDocumentOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
DeleteDocumentOptions.Builder()
Instantiates a new builder.
|
DeleteDocumentOptions.Builder(java.lang.String projectId,
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 |
projectId(java.lang.String projectId)
Set the projectId.
|
DeleteDocumentOptions.Builder |
xWatsonDiscoveryForce(java.lang.Boolean xWatsonDiscoveryForce)
Set the xWatsonDiscoveryForce.
|
public DeleteDocumentOptions.Builder()
public DeleteDocumentOptions.Builder(java.lang.String projectId, java.lang.String collectionId, java.lang.String documentId)
projectId
- the projectIdcollectionId
- the collectionIddocumentId
- the documentIdpublic DeleteDocumentOptions build()
public DeleteDocumentOptions.Builder projectId(java.lang.String projectId)
projectId
- the projectIdpublic DeleteDocumentOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic DeleteDocumentOptions.Builder documentId(java.lang.String documentId)
documentId
- the documentIdpublic DeleteDocumentOptions.Builder xWatsonDiscoveryForce(java.lang.Boolean xWatsonDiscoveryForce)
xWatsonDiscoveryForce
- the xWatsonDiscoveryForce