Class DeleteDocumentOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v2.model.DeleteDocumentOptions.Builder
- Enclosing class:
- DeleteDocumentOptions
public static class DeleteDocumentOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DeleteDocumentOptions
build()
Builds a DeleteDocumentOptions.DeleteDocumentOptions.Builder
collectionId(String collectionId)
Set the collectionId.DeleteDocumentOptions.Builder
documentId(String documentId)
Set the documentId.DeleteDocumentOptions.Builder
projectId(String projectId)
Set the projectId.DeleteDocumentOptions.Builder
xWatsonDiscoveryForce(Boolean xWatsonDiscoveryForce)
Set the xWatsonDiscoveryForce.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
projectId
- the projectIdcollectionId
- the collectionIddocumentId
- the documentId
-
-
Method Details
-
build
Builds a DeleteDocumentOptions.- Returns:
- the new DeleteDocumentOptions instance
-
projectId
Set the projectId.- Parameters:
projectId
- the projectId- Returns:
- the DeleteDocumentOptions builder
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the DeleteDocumentOptions builder
-
documentId
Set the documentId.- Parameters:
documentId
- the documentId- Returns:
- the DeleteDocumentOptions builder
-
xWatsonDiscoveryForce
Set the xWatsonDiscoveryForce.- Parameters:
xWatsonDiscoveryForce
- the xWatsonDiscoveryForce- Returns:
- the DeleteDocumentOptions builder
-