public static class CreateCollectionOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String name)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and 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.
|
public CreateCollectionOptions build()
public CreateCollectionOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic CreateCollectionOptions.Builder name(String name)
name
- the namepublic CreateCollectionOptions.Builder description(String description)
description
- the descriptionpublic CreateCollectionOptions.Builder configurationId(String configurationId)
configurationId
- the configurationIdpublic CreateCollectionOptions.Builder language(String language)
language
- the languageCopyright © 2024 IBM Cloud. All rights reserved.