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 method that creates an instance of theHighlight.Builder avoiding the need to create one
manually via Highlight.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #highlights(List.
highlights - a consumer that will call methods on
Highlight.Builder#highlights(java.util.Collection) DocumentText.Builder text(String text)
Text in the document.
text - Text in the document.Copyright © 2023. All rights reserved.