Interface CitationLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CitationLocation.Builder,
,CitationLocation> SdkBuilder<CitationLocation.Builder,
,CitationLocation> SdkPojo
- Enclosing class:
CitationLocation
-
Method Summary
Modifier and TypeMethodDescriptiondefault CitationLocation.Builder
documentChar
(Consumer<DocumentCharLocation.Builder> documentChar) The character-level location within the document where the cited content is found.documentChar
(DocumentCharLocation documentChar) The character-level location within the document where the cited content is found.default CitationLocation.Builder
documentChunk
(Consumer<DocumentChunkLocation.Builder> documentChunk) The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.documentChunk
(DocumentChunkLocation documentChunk) The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.default CitationLocation.Builder
documentPage
(Consumer<DocumentPageLocation.Builder> documentPage) The page-level location within the document where the cited content is found.documentPage
(DocumentPageLocation documentPage) The page-level location within the document where the cited content is found.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
documentChar
The character-level location within the document where the cited content is found.
- Parameters:
documentChar
- The character-level location within the document where the cited content is found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentChar
The character-level location within the document where the cited content is found.
This is a convenience method that creates an instance of theDocumentCharLocation.Builder
avoiding the need to create one manually viaDocumentCharLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentChar(DocumentCharLocation)
.- Parameters:
documentChar
- a consumer that will call methods onDocumentCharLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentPage
The page-level location within the document where the cited content is found.
- Parameters:
documentPage
- The page-level location within the document where the cited content is found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentPage
The page-level location within the document where the cited content is found.
This is a convenience method that creates an instance of theDocumentPageLocation.Builder
avoiding the need to create one manually viaDocumentPageLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentPage(DocumentPageLocation)
.- Parameters:
documentPage
- a consumer that will call methods onDocumentPageLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentChunk
The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.
- Parameters:
documentChunk
- The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentChunk
default CitationLocation.Builder documentChunk(Consumer<DocumentChunkLocation.Builder> documentChunk) The chunk-level location within the document where the cited content is found, typically used for documents that have been segmented into logical chunks.
This is a convenience method that creates an instance of theDocumentChunkLocation.Builder
avoiding the need to create one manually viaDocumentChunkLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocumentChunk(DocumentChunkLocation)
.- Parameters:
documentChunk
- a consumer that will call methods onDocumentChunkLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-