Interface AutomatedReasoningPolicyReportSourceDocument.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyReportSourceDocument.Builder,AutomatedReasoningPolicyReportSourceDocument>,SdkBuilder<AutomatedReasoningPolicyReportSourceDocument.Builder,AutomatedReasoningPolicyReportSourceDocument>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyReportSourceDocument
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyReportSourceDocument.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyReportSourceDocument.Builder,AutomatedReasoningPolicyReportSourceDocument>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyReportSourceDocument.BuilderatomicStatements(Collection<AutomatedReasoningPolicyAtomicStatement> atomicStatements)The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.AutomatedReasoningPolicyReportSourceDocument.BuilderatomicStatements(Consumer<AutomatedReasoningPolicyAtomicStatement.Builder>... atomicStatements)The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.AutomatedReasoningPolicyReportSourceDocument.BuilderatomicStatements(AutomatedReasoningPolicyAtomicStatement... atomicStatements)The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.AutomatedReasoningPolicyReportSourceDocument.BuilderdocumentContent(Collection<AutomatedReasoningPolicyAnnotatedChunk> documentContent)The document's content organized into annotated chunks with line number information for precise referencing.AutomatedReasoningPolicyReportSourceDocument.BuilderdocumentContent(Consumer<AutomatedReasoningPolicyAnnotatedChunk.Builder>... documentContent)The document's content organized into annotated chunks with line number information for precise referencing.AutomatedReasoningPolicyReportSourceDocument.BuilderdocumentContent(AutomatedReasoningPolicyAnnotatedChunk... documentContent)The document's content organized into annotated chunks with line number information for precise referencing.AutomatedReasoningPolicyReportSourceDocument.BuilderdocumentHash(String documentHash)A SHA-256 hash of the document content, used for verification and ensuring the document hasn't changed since analysis.AutomatedReasoningPolicyReportSourceDocument.BuilderdocumentId(String documentId)A unique identifier for this document within the fidelity report.AutomatedReasoningPolicyReportSourceDocument.BuilderdocumentName(String documentName)The name of the source document that was analyzed.-
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
-
documentName
AutomatedReasoningPolicyReportSourceDocument.Builder documentName(String documentName)
The name of the source document that was analyzed.
- Parameters:
documentName- The name of the source document that was analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentHash
AutomatedReasoningPolicyReportSourceDocument.Builder documentHash(String documentHash)
A SHA-256 hash of the document content, used for verification and ensuring the document hasn't changed since analysis.
- Parameters:
documentHash- A SHA-256 hash of the document content, used for verification and ensuring the document hasn't changed since analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentId
AutomatedReasoningPolicyReportSourceDocument.Builder documentId(String documentId)
A unique identifier for this document within the fidelity report.
- Parameters:
documentId- A unique identifier for this document within the fidelity report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atomicStatements
AutomatedReasoningPolicyReportSourceDocument.Builder atomicStatements(Collection<AutomatedReasoningPolicyAtomicStatement> atomicStatements)
The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.
- Parameters:
atomicStatements- The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atomicStatements
AutomatedReasoningPolicyReportSourceDocument.Builder atomicStatements(AutomatedReasoningPolicyAtomicStatement... atomicStatements)
The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.
- Parameters:
atomicStatements- The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
atomicStatements
AutomatedReasoningPolicyReportSourceDocument.Builder atomicStatements(Consumer<AutomatedReasoningPolicyAtomicStatement.Builder>... atomicStatements)
The list of atomic statements extracted from this document, representing the fundamental units of meaning used for grounding.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAtomicStatement.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAtomicStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#atomicStatements(List.) - Parameters:
atomicStatements- a consumer that will call methods onAutomatedReasoningPolicyAtomicStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#atomicStatements(java.util.Collection)
-
documentContent
AutomatedReasoningPolicyReportSourceDocument.Builder documentContent(Collection<AutomatedReasoningPolicyAnnotatedChunk> documentContent)
The document's content organized into annotated chunks with line number information for precise referencing.
- Parameters:
documentContent- The document's content organized into annotated chunks with line number information for precise referencing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentContent
AutomatedReasoningPolicyReportSourceDocument.Builder documentContent(AutomatedReasoningPolicyAnnotatedChunk... documentContent)
The document's content organized into annotated chunks with line number information for precise referencing.
- Parameters:
documentContent- The document's content organized into annotated chunks with line number information for precise referencing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentContent
AutomatedReasoningPolicyReportSourceDocument.Builder documentContent(Consumer<AutomatedReasoningPolicyAnnotatedChunk.Builder>... documentContent)
The document's content organized into annotated chunks with line number information for precise referencing.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyAnnotatedChunk.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyAnnotatedChunk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#documentContent(List.) - Parameters:
documentContent- a consumer that will call methods onAutomatedReasoningPolicyAnnotatedChunk.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#documentContent(java.util.Collection)
-
-