Class CreateCollectionOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.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.static interfaceCreateCollectionOptions.LanguageThe language of the documents stored in the collection, in the form of an ISO 639-1 language code. -
Method Summary
Modifier and Type Method Description StringconfigurationId()Gets the configurationId.Stringdescription()Gets the description.StringenvironmentId()Gets the environmentId.Stringlanguage()Gets the language.Stringname()Gets the name.CreateCollectionOptions.BuildernewBuilder()New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateCollectionOptions builder
-
environmentId
Gets the environmentId.The ID of the environment.
- Returns:
- the environmentId
-
name
Gets the name.The name of the collection to be created.
- Returns:
- the name
-
description
Gets the description.A description of the collection.
- Returns:
- the description
-
configurationId
Gets the configurationId.The ID of the configuration in which the collection is to be created.
- Returns:
- the configurationId
-
language
Gets the language.The language of the documents stored in the collection, in the form of an ISO 639-1 language code.
- Returns:
- the language
-