public static class EntryModel.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
EntryModel.Builder |
addSentences(SentenceModel sentences)
Adds an sentences to sentences.
|
EntryModel |
build()
Builds a EntryModel.
|
EntryModel.Builder |
id(java.lang.String id)
Set the id.
|
EntryModel.Builder |
negated(java.lang.Boolean negated)
Set the negated.
|
EntryModel.Builder |
sentences(java.util.List<SentenceModel> sentences)
Set the sentences.
|
public EntryModel build()
public EntryModel.Builder addSentences(SentenceModel sentences)
sentences - the new sentencespublic EntryModel.Builder id(java.lang.String id)
id - the idpublic EntryModel.Builder negated(java.lang.Boolean negated)
negated - the negatedpublic EntryModel.Builder sentences(java.util.List<SentenceModel> sentences)
sentences - the sentencesCopyright © 2021 IBM Cloud. All rights reserved.