Class DeleteDocumentOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.DeleteDocumentOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DeleteDocumentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The deleteDocument options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteDocumentOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description StringcollectionId()Gets the collectionId.StringdocumentId()Gets the documentId.DeleteDocumentOptions.BuildernewBuilder()New builder.StringprojectId()Gets the projectId.BooleanxWatsonDiscoveryForce()Gets the xWatsonDiscoveryForce.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a DeleteDocumentOptions builder
-
projectId
Gets the projectId.The ID of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
- Returns:
- the projectId
-
collectionId
Gets the collectionId.The ID of the collection.
- Returns:
- the collectionId
-
documentId
Gets the documentId.The ID of the document.
- Returns:
- the documentId
-
xWatsonDiscoveryForce
Gets the xWatsonDiscoveryForce.When `true`, the uploaded document is added to the collection even if the data for that collection is shared with other collections.
- Returns:
- the xWatsonDiscoveryForce
-