public class DeleteDocumentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
DeleteDocumentOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.String |
documentId |
protected java.lang.String |
projectId |
protected java.lang.Boolean |
xWatsonDiscoveryForce |
Modifier | Constructor and Description |
---|---|
protected |
DeleteDocumentOptions(DeleteDocumentOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.String |
documentId()
Gets the documentId.
|
DeleteDocumentOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
projectId()
Gets the projectId.
|
java.lang.Boolean |
xWatsonDiscoveryForce()
Gets the xWatsonDiscoveryForce.
|
protected java.lang.String projectId
protected java.lang.String collectionId
protected java.lang.String documentId
protected java.lang.Boolean xWatsonDiscoveryForce
protected DeleteDocumentOptions(DeleteDocumentOptions.Builder builder)
public DeleteDocumentOptions.Builder newBuilder()
public java.lang.String projectId()
The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
public java.lang.String collectionId()
The ID of the collection.
public java.lang.String documentId()
The ID of the document.
public java.lang.Boolean xWatsonDiscoveryForce()
When `true`, the uploaded document is added to the collection even if the data for that collection is shared with other collections.