Interface AutomatedReasoningPolicyTestCase.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomatedReasoningPolicyTestCase.Builder,
,AutomatedReasoningPolicyTestCase> SdkBuilder<AutomatedReasoningPolicyTestCase.Builder,
,AutomatedReasoningPolicyTestCase> SdkPojo
- Enclosing class:
AutomatedReasoningPolicyTestCase
@Mutable
@NotThreadSafe
public static interface AutomatedReasoningPolicyTestCase.Builder
extends SdkPojo, CopyableBuilder<AutomatedReasoningPolicyTestCase.Builder,AutomatedReasoningPolicyTestCase>
-
Method Summary
Modifier and TypeMethodDescriptionconfidenceThreshold
(Double confidenceThreshold) The minimum confidence level for logic validation.The timestamp when the test was created.expectedAggregatedFindingsResult
(String expectedAggregatedFindingsResult) The expected result of the Automated Reasoning check for this test.expectedAggregatedFindingsResult
(AutomatedReasoningCheckResult expectedAggregatedFindingsResult) The expected result of the Automated Reasoning check for this test.guardContent
(String guardContent) The output content to be validated by the policy, typically representing a foundation model response.queryContent
(String queryContent) The input query or prompt that generated the content.testCaseId
(String testCaseId) The unique identifier of the test.The timestamp when the test was last updated.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 Details
-
testCaseId
The unique identifier of the test.
- Parameters:
testCaseId
- The unique identifier of the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardContent
The output content to be validated by the policy, typically representing a foundation model response.
- Parameters:
guardContent
- The output content to be validated by the policy, typically representing a foundation model response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryContent
The input query or prompt that generated the content. This provides context for the validation.
- Parameters:
queryContent
- The input query or prompt that generated the content. This provides context for the validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedAggregatedFindingsResult
AutomatedReasoningPolicyTestCase.Builder expectedAggregatedFindingsResult(String expectedAggregatedFindingsResult) The expected result of the Automated Reasoning check for this test.
- Parameters:
expectedAggregatedFindingsResult
- The expected result of the Automated Reasoning check for this test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expectedAggregatedFindingsResult
AutomatedReasoningPolicyTestCase.Builder expectedAggregatedFindingsResult(AutomatedReasoningCheckResult expectedAggregatedFindingsResult) The expected result of the Automated Reasoning check for this test.
- Parameters:
expectedAggregatedFindingsResult
- The expected result of the Automated Reasoning check for this test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the test was created.
- Parameters:
createdAt
- The timestamp when the test was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the test was last updated.
- Parameters:
updatedAt
- The timestamp when the test was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidenceThreshold
The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.
- Parameters:
confidenceThreshold
- The minimum confidence level for logic validation. Content meeting this threshold is considered high-confidence and can be validated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-