public static interface Document.Builder extends SdkPojo, CopyableBuilder<Document.Builder,Document>
| Modifier and Type | Method and Description |
|---|---|
default Document.Builder |
contentReference(Consumer<ContentReference.Builder> contentReference)
A reference to the content resource.
|
Document.Builder |
contentReference(ContentReference contentReference)
A reference to the content resource.
|
default Document.Builder |
excerpt(Consumer<DocumentText.Builder> excerpt)
The excerpt from the document.
|
Document.Builder |
excerpt(DocumentText excerpt)
The excerpt from the document.
|
default Document.Builder |
title(Consumer<DocumentText.Builder> title)
The title of the document.
|
Document.Builder |
title(DocumentText title)
The title of the document.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDocument.Builder contentReference(ContentReference contentReference)
A reference to the content resource.
contentReference - A reference to the content resource.default Document.Builder contentReference(Consumer<ContentReference.Builder> contentReference)
A reference to the content resource.
This is a convenience method that creates an instance of theContentReference.Builder avoiding the
need to create one manually via ContentReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to contentReference(ContentReference).contentReference - a consumer that will call methods on ContentReference.BuildercontentReference(ContentReference)Document.Builder excerpt(DocumentText excerpt)
The excerpt from the document.
excerpt - The excerpt from the document.default Document.Builder excerpt(Consumer<DocumentText.Builder> excerpt)
The excerpt from the document.
This is a convenience method that creates an instance of theDocumentText.Builder avoiding the need
to create one manually via DocumentText.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to excerpt(DocumentText).excerpt - a consumer that will call methods on DocumentText.Builderexcerpt(DocumentText)Document.Builder title(DocumentText title)
The title of the document.
title - The title of the document.default Document.Builder title(Consumer<DocumentText.Builder> title)
The title of the document.
This is a convenience method that creates an instance of theDocumentText.Builder avoiding the need
to create one manually via DocumentText.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to title(DocumentText).title - a consumer that will call methods on DocumentText.Buildertitle(DocumentText)Copyright © 2022. All rights reserved.