public static class CreateStopwordListOptions.Builder extends Object
| Constructor and Description | 
|---|
| Builder()Instantiates a new builder. | 
| Builder(String projectId,
       String collectionId)Instantiates a new builder with required properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateStopwordListOptions.Builder | addStopwords(String stopwords)Adds an stopwords to stopwords. | 
| CreateStopwordListOptions | build()Builds a CreateStopwordListOptions. | 
| CreateStopwordListOptions.Builder | collectionId(String collectionId)Set the collectionId. | 
| CreateStopwordListOptions.Builder | projectId(String projectId)Set the projectId. | 
| CreateStopwordListOptions.Builder | stopWordList(StopWordList stopWordList)Set the stopWordList. | 
| CreateStopwordListOptions.Builder | stopwords(List<String> stopwords)Set the stopwords. | 
public CreateStopwordListOptions build()
public CreateStopwordListOptions.Builder addStopwords(String stopwords)
stopwords - the new stopwordspublic CreateStopwordListOptions.Builder projectId(String projectId)
projectId - the projectIdpublic CreateStopwordListOptions.Builder collectionId(String collectionId)
collectionId - the collectionIdpublic CreateStopwordListOptions.Builder stopwords(List<String> stopwords)
stopwords - the stopwordspublic CreateStopwordListOptions.Builder stopWordList(StopWordList stopWordList)
stopWordList - the stopWordListCopyright © 2023 IBM Cloud. All rights reserved.