Interface CitationLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CitationLocation.Builder,,CitationLocation> SdkBuilder<CitationLocation.Builder,,CitationLocation> SdkPojo
- Enclosing class:
CitationLocation
-
Method Summary
Modifier and TypeMethodDescriptiondefault CitationLocation.BuilderdocumentChar(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.BuilderdocumentChunk(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.BuilderdocumentPage(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaDocumentCharLocation.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDocumentPageLocation.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDocumentChunkLocation.builder().When the
Consumercompletes,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:
-