Interface AutomatedReasoningPolicyRuleReport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyRuleReport.Builder,,AutomatedReasoningPolicyRuleReport> SdkBuilder<AutomatedReasoningPolicyRuleReport.Builder,,AutomatedReasoningPolicyRuleReport> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyRuleReport
-
Method Summary
Modifier and TypeMethodDescriptionaccuracyJustification(String accuracyJustification) A textual explanation of the accuracy score, describing why the rule received this particular accuracy rating.accuracyScore(Double accuracyScore) A score from 0.0 to 1.0 indicating how accurately this rule represents the source material.groundingJustifications(String... groundingJustifications) Explanations describing how the source statements support and justify this specific rule.groundingJustifications(Collection<String> groundingJustifications) Explanations describing how the source statements support and justify this specific rule.groundingStatements(Collection<AutomatedReasoningPolicyStatementReference> groundingStatements) References to statements from the source documents that provide the basis or justification for this rule.groundingStatements(Consumer<AutomatedReasoningPolicyStatementReference.Builder>... groundingStatements) References to statements from the source documents that provide the basis or justification for this rule.groundingStatements(AutomatedReasoningPolicyStatementReference... groundingStatements) References to statements from the source documents that provide the basis or justification for this rule.The identifier of the policy rule 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
-
rule
The identifier of the policy rule being analyzed in this report.
- Parameters:
rule- The identifier of the policy rule being analyzed in this report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingStatements
AutomatedReasoningPolicyRuleReport.Builder groundingStatements(Collection<AutomatedReasoningPolicyStatementReference> groundingStatements) References to statements from the source documents that provide the basis or justification for this rule.
- Parameters:
groundingStatements- References to statements from the source documents that provide the basis or justification for this rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingStatements
AutomatedReasoningPolicyRuleReport.Builder groundingStatements(AutomatedReasoningPolicyStatementReference... groundingStatements) References to statements from the source documents that provide the basis or justification for this rule.
- Parameters:
groundingStatements- References to statements from the source documents that provide the basis or justification for this rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingStatements
AutomatedReasoningPolicyRuleReport.Builder groundingStatements(Consumer<AutomatedReasoningPolicyStatementReference.Builder>... groundingStatements) References to statements from the source documents that provide the basis or justification for this rule.
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
AutomatedReasoningPolicyRuleReport.Builder groundingJustifications(Collection<String> groundingJustifications) Explanations describing how the source statements support and justify this specific rule.
- Parameters:
groundingJustifications- Explanations describing how the source statements support and justify this specific rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groundingJustifications
AutomatedReasoningPolicyRuleReport.Builder groundingJustifications(String... groundingJustifications) Explanations describing how the source statements support and justify this specific rule.
- Parameters:
groundingJustifications- Explanations describing how the source statements support and justify this specific rule.- 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 rule represents the source material.
- Parameters:
accuracyScore- A score from 0.0 to 1.0 indicating how accurately this rule represents 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 rule received this particular accuracy rating.
- Parameters:
accuracyJustification- A textual explanation of the accuracy score, describing why the rule received this particular accuracy rating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-