public static class SentenceModel.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
SentenceModel.Builder |
begin(long begin)
Set the begin.
|
SentenceModel |
build()
Builds a SentenceModel.
|
SentenceModel.Builder |
documentSection(java.lang.String documentSection)
Set the documentSection.
|
SentenceModel.Builder |
end(long end)
Set the end.
|
SentenceModel.Builder |
text(StringBuilder text)
Set the text.
|
SentenceModel.Builder |
timestamp(long timestamp)
Set the timestamp.
|
public SentenceModel build()
public SentenceModel.Builder documentSection(java.lang.String documentSection)
documentSection - the documentSectionpublic SentenceModel.Builder text(StringBuilder text)
text - the textpublic SentenceModel.Builder begin(long begin)
begin - the beginpublic SentenceModel.Builder end(long end)
end - the endpublic SentenceModel.Builder timestamp(long timestamp)
timestamp - the timestampCopyright © 2021 IBM Cloud. All rights reserved.