Interface AutomatedReasoningPolicyVariableReport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyVariableReport.Builder,,AutomatedReasoningPolicyVariableReport> SdkBuilder<AutomatedReasoningPolicyVariableReport.Builder,,AutomatedReasoningPolicyVariableReport> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyVariableReport
-
Method Summary
Modifier and TypeMethodDescriptionaccuracyJustification(String accuracyJustification) A textual explanation of the accuracy score, describing why the variable received this particular accuracy rating.accuracyScore(Double accuracyScore) A score from 0.0 to 1.0 indicating how accurately this variable represents concepts from the source material.groundingJustifications(String... groundingJustifications) Explanations describing how the source statements support and justify this specific variable definition.groundingJustifications(Collection<String> groundingJustifications) Explanations describing how the source statements support and justify this specific variable definition.groundingStatements(Collection<AutomatedReasoningPolicyStatementReference> groundingStatements) References to statements from the source documents that provide the basis or justification for this variable.groundingStatements(Consumer<AutomatedReasoningPolicyStatementReference.Builder>... groundingStatements) References to statements from the source documents that provide the basis or justification for this variable.groundingStatements(AutomatedReasoningPolicyStatementReference... groundingStatements) References to statements from the source documents that provide the basis or justification for this variable.policyVariable(String policyVariable) The name of the policy variable being analyzed in this report.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
-
policyVariable
The name of the policy variable being analyzed in this report.
- Parameters:
policyVariable- The name of the policy variable being analyzed in this report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingStatements
AutomatedReasoningPolicyVariableReport.Builder groundingStatements(Collection<AutomatedReasoningPolicyStatementReference> groundingStatements) References to statements from the source documents that provide the basis or justification for this variable.
- Parameters:
groundingStatements- References to statements from the source documents that provide the basis or justification for this variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingStatements
AutomatedReasoningPolicyVariableReport.Builder groundingStatements(AutomatedReasoningPolicyStatementReference... groundingStatements) References to statements from the source documents that provide the basis or justification for this variable.
- Parameters:
groundingStatements- References to statements from the source documents that provide the basis or justification for this variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingStatements
AutomatedReasoningPolicyVariableReport.Builder groundingStatements(Consumer<AutomatedReasoningPolicyStatementReference.Builder>... groundingStatements) References to statements from the source documents that provide the basis or justification for this variable.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyStatementReference.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyStatementReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroundingStatements(List<AutomatedReasoningPolicyStatementReference>).- Parameters:
groundingStatements- a consumer that will call methods onAutomatedReasoningPolicyStatementReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groundingJustifications
AutomatedReasoningPolicyVariableReport.Builder groundingJustifications(Collection<String> groundingJustifications) Explanations describing how the source statements support and justify this specific variable definition.
- Parameters:
groundingJustifications- Explanations describing how the source statements support and justify this specific variable definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingJustifications
AutomatedReasoningPolicyVariableReport.Builder groundingJustifications(String... groundingJustifications) Explanations describing how the source statements support and justify this specific variable definition.
- Parameters:
groundingJustifications- Explanations describing how the source statements support and justify this specific variable definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accuracyScore
A score from 0.0 to 1.0 indicating how accurately this variable represents concepts from the source material.
- Parameters:
accuracyScore- A score from 0.0 to 1.0 indicating how accurately this variable represents concepts from the source material.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accuracyJustification
A textual explanation of the accuracy score, describing why the variable received this particular accuracy rating.
- Parameters:
accuracyJustification- A textual explanation of the accuracy score, describing why the variable received this particular accuracy rating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-