Interface CitationLocation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CitationLocation.Builder,CitationLocation>,SdkBuilder<CitationLocation.Builder,CitationLocation>,SdkPojo
- Enclosing class:
- CitationLocation
@Mutable @NotThreadSafe public static interface CitationLocation.Builder extends SdkPojo, CopyableBuilder<CitationLocation.Builder,CitationLocation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CitationLocation.BuilderdocumentChar(Consumer<DocumentCharLocation.Builder> documentChar)The character-level location within the document where the cited content is found.CitationLocation.BuilderdocumentChar(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.CitationLocation.BuilderdocumentChunk(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.CitationLocation.BuilderdocumentPage(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 Detail
-
documentChar
CitationLocation.Builder documentChar(DocumentCharLocation 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
default CitationLocation.Builder documentChar(Consumer<DocumentCharLocation.Builder> 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:
documentChar(DocumentCharLocation)
-
documentPage
CitationLocation.Builder documentPage(DocumentPageLocation 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
default CitationLocation.Builder documentPage(Consumer<DocumentPageLocation.Builder> 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:
documentPage(DocumentPageLocation)
-
documentChunk
CitationLocation.Builder 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.
- 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:
documentChunk(DocumentChunkLocation)
-
-