public static interface DocumentText.Builder extends SdkPojo, CopyableBuilder<DocumentText.Builder,DocumentText>
| Modifier and Type | Method and Description |
|---|---|
DocumentText.Builder |
highlights(Collection<Highlight> highlights)
Highlights in the document text.
|
DocumentText.Builder |
highlights(Consumer<Highlight.Builder>... highlights)
Highlights in the document text.
|
DocumentText.Builder |
highlights(Highlight... highlights)
Highlights in the document text.
|
DocumentText.Builder |
text(String text)
Text in the document.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDocumentText.Builder highlights(Collection<Highlight> highlights)
Highlights in the document text.
highlights - Highlights in the document text.DocumentText.Builder highlights(Highlight... highlights)
Highlights in the document text.
highlights - Highlights in the document text.DocumentText.Builder highlights(Consumer<Highlight.Builder>... highlights)
Highlights in the document text.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #highlights(List) .highlights - a consumer that will call methods on List.Builder #highlights(List) DocumentText.Builder text(String text)
Text in the document.
text - Text in the document.Copyright © 2021. All rights reserved.