public static class CreateTokenizationDictionaryOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String collectionId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateTokenizationDictionaryOptions.Builder |
addTokenizationRules(TokenDictRule tokenizationRules)
Adds an tokenizationRules to tokenizationRules.
|
CreateTokenizationDictionaryOptions |
build()
Builds a CreateTokenizationDictionaryOptions.
|
CreateTokenizationDictionaryOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
CreateTokenizationDictionaryOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
CreateTokenizationDictionaryOptions.Builder |
tokenizationRules(List<TokenDictRule> tokenizationRules)
Set the tokenizationRules.
|
public CreateTokenizationDictionaryOptions build()
public CreateTokenizationDictionaryOptions.Builder addTokenizationRules(TokenDictRule tokenizationRules)
tokenizationRules
- the new tokenizationRulespublic CreateTokenizationDictionaryOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic CreateTokenizationDictionaryOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic CreateTokenizationDictionaryOptions.Builder tokenizationRules(List<TokenDictRule> tokenizationRules)
tokenizationRules
- the tokenizationRulesCopyright © 2021 IBM Cloud. All rights reserved.