public static class UpdateCustomModelOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String customizationId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateCustomModelOptions.Builder |
addWord(Word word)
Adds an word to words.
|
UpdateCustomModelOptions |
build()
Builds a UpdateCustomModelOptions.
|
UpdateCustomModelOptions.Builder |
customizationId(String customizationId)
Set the customizationId.
|
UpdateCustomModelOptions.Builder |
description(String description)
Set the description.
|
UpdateCustomModelOptions.Builder |
name(String name)
Set the name.
|
UpdateCustomModelOptions.Builder |
words(List<Word> words)
Set the words.
|
public Builder()
public Builder(String customizationId)
customizationId
- the customizationIdpublic UpdateCustomModelOptions build()
public UpdateCustomModelOptions.Builder addWord(Word word)
word
- the new wordpublic UpdateCustomModelOptions.Builder customizationId(String customizationId)
customizationId
- the customizationIdpublic UpdateCustomModelOptions.Builder name(String name)
name
- the namepublic UpdateCustomModelOptions.Builder description(String description)
description
- the descriptionpublic UpdateCustomModelOptions.Builder words(List<Word> words)
words
- the wordsCopyright © 2022 IBM Cloud. All rights reserved.