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 class
CreateCollectionOptions.Builder
Builder.static interface
CreateCollectionOptions.Language
The 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 String
configurationId()
Gets the configurationId.String
description()
Gets the description.String
environmentId()
Gets the environmentId.String
language()
Gets the language.String
name()
Gets the name.CreateCollectionOptions.Builder
newBuilder()
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
-