Class CreateCollectionOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.CreateCollectionOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createCollection options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateCollectionOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description Stringdescription()Gets the description.List<CollectionEnrichment>enrichments()Gets the enrichments.Stringlanguage()Gets the language.Stringname()Gets the name.CreateCollectionOptions.BuildernewBuilder()New builder.StringprojectId()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 CreateCollectionOptions 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
-
name
Gets the name.The name of the collection.
- Returns:
- the name
-
description
Gets the description.A description of the collection.
- Returns:
- the description
-
language
Gets the language.The language of the collection.
- Returns:
- the language
-
enrichments
Gets the enrichments.An array of enrichments that are applied to this collection.
- Returns:
- the enrichments
-