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