Interface AutomatedReasoningPolicyRuleReport.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedReasoningPolicyRuleReport.Builder,AutomatedReasoningPolicyRuleReport>,SdkBuilder<AutomatedReasoningPolicyRuleReport.Builder,AutomatedReasoningPolicyRuleReport>,SdkPojo
- Enclosing class:
- AutomatedReasoningPolicyRuleReport
@Mutable @NotThreadSafe public static interface AutomatedReasoningPolicyRuleReport.Builder extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyRuleReport.Builder,AutomatedReasoningPolicyRuleReport>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyRuleReport.BuilderaccuracyJustification(String accuracyJustification)A textual explanation of the accuracy score, describing why the rule received this particular accuracy rating.AutomatedReasoningPolicyRuleReport.BuilderaccuracyScore(Double accuracyScore)A score from 0.0 to 1.0 indicating how accurately this rule represents the source material.AutomatedReasoningPolicyRuleReport.BuildergroundingJustifications(String... groundingJustifications)Explanations describing how the source statements support and justify this specific rule.AutomatedReasoningPolicyRuleReport.BuildergroundingJustifications(Collection<String> groundingJustifications)Explanations describing how the source statements support and justify this specific rule.AutomatedReasoningPolicyRuleReport.BuildergroundingStatements(Collection<AutomatedReasoningPolicyStatementReference> groundingStatements)References to statements from the source documents that provide the basis or justification for this rule.AutomatedReasoningPolicyRuleReport.BuildergroundingStatements(Consumer<AutomatedReasoningPolicyStatementReference.Builder>... groundingStatements)References to statements from the source documents that provide the basis or justification for this rule.AutomatedReasoningPolicyRuleReport.BuildergroundingStatements(AutomatedReasoningPolicyStatementReference... groundingStatements)References to statements from the source documents that provide the basis or justification for this rule.AutomatedReasoningPolicyRuleReport.Builderrule(String rule)The identifier of the policy rule being analyzed in this report.-
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
-
rule
AutomatedReasoningPolicyRuleReport.Builder rule(String 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 to#groundingStatements(List.) - 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:
#groundingStatements(java.util.Collection)
-
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
AutomatedReasoningPolicyRuleReport.Builder accuracyScore(Double 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
AutomatedReasoningPolicyRuleReport.Builder accuracyJustification(String 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.
-
-