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 SummaryNested Classes Modifier and Type Class Description static classCreateCollectionOptions.BuilderBuilder.
- 
Method SummaryModifier 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.GenericModelequals, hashCode, toString
- 
Method Details- 
newBuilderNew builder.- Returns:
- a CreateCollectionOptions builder
 
- 
projectIdGets the projectId.The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling. - Returns:
- the projectId
 
- 
nameGets the name.The name of the collection. - Returns:
- the name
 
- 
descriptionGets the description.A description of the collection. - Returns:
- the description
 
- 
languageGets the language.The language of the collection. - Returns:
- the language
 
- 
enrichmentsGets the enrichments.An array of enrichments that are applied to this collection. - Returns:
- the enrichments
 
 
-