use of com.ibm.watson.discovery.v1.model.DeleteCollectionOptions in project java-sdk by watson-developer-cloud.
the class VisualRecognitionIT method deleteTestCollection.
private void deleteTestCollection(String collectionId) {
DeleteCollectionOptions deleteCollectionOptions = new DeleteCollectionOptions.Builder().collectionId(collectionId).build();
service.deleteCollection(deleteCollectionOptions).execute();
}
Aggregations