Class GetCollectionOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.GetCollectionOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The getCollection options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetCollectionOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
collectionId()
Gets the collectionId.GetCollectionOptions.Builder
newBuilder()
New builder.String
projectId()
Gets the projectId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a GetCollectionOptions builder
-
projectId
Gets the projectId.The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
- Returns:
- the projectId
-
collectionId
Gets the collectionId.The ID of the collection.
- Returns:
- the collectionId
-