Class DeleteDocumentOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.DeleteDocumentOptions.Builder
- Enclosing class:
 - DeleteDocumentOptions
 
public static class DeleteDocumentOptions.Builder extends Object
Builder.
- 
Constructor Summary
 - 
Method Summary
Modifier and Type Method Description DeleteDocumentOptionsbuild()Builds a DeleteDocumentOptions.DeleteDocumentOptions.BuildercollectionId(String collectionId)Set the collectionId.DeleteDocumentOptions.BuilderdocumentId(String documentId)Set the documentId.DeleteDocumentOptions.BuilderenvironmentId(String environmentId)Set the environmentId. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. - 
Builder
Instantiates a new builder with required properties.- Parameters:
 environmentId- the environmentIdcollectionId- the collectionIddocumentId- the documentId
 
 - 
 - 
Method Details
- 
build
Builds a DeleteDocumentOptions.- Returns:
 - the new DeleteDocumentOptions instance
 
 - 
environmentId
Set the environmentId.- Parameters:
 environmentId- the environmentId- 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
 
 
 -