Class CreateCollectionOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.CreateCollectionOptions.Builder
- Enclosing class:
- CreateCollectionOptions
public static class CreateCollectionOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CreateCollectionOptions
build()
Builds a CreateCollectionOptions.CreateCollectionOptions.Builder
configurationId(String configurationId)
Set the configurationId.CreateCollectionOptions.Builder
description(String description)
Set the description.CreateCollectionOptions.Builder
environmentId(String environmentId)
Set the environmentId.CreateCollectionOptions.Builder
language(String language)
Set the language.CreateCollectionOptions.Builder
name(String name)
Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdname
- the name
-
-
Method Details
-
build
Builds a CreateCollectionOptions.- Returns:
- the new CreateCollectionOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the CreateCollectionOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateCollectionOptions builder
-
description
Set the description.- Parameters:
description
- the description- Returns:
- the CreateCollectionOptions builder
-
configurationId
Set the configurationId.- Parameters:
configurationId
- the configurationId- Returns:
- the CreateCollectionOptions builder
-
language
Set the language.- Parameters:
language
- the language- Returns:
- the CreateCollectionOptions builder
-