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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedReasoningPolicyTestCase.BuilderconfidenceThreshold(Double confidenceThreshold)The minimum confidence level for logic validation.AutomatedReasoningPolicyTestCase.BuildercreatedAt(Instant createdAt)The timestamp when the test was created.AutomatedReasoningPolicyTestCase.BuilderexpectedAggregatedFindingsResult(String expectedAggregatedFindingsResult)The expected result of the Automated Reasoning check for this test.AutomatedReasoningPolicyTestCase.BuilderexpectedAggregatedFindingsResult(AutomatedReasoningCheckResult expectedAggregatedFindingsResult)The expected result of the Automated Reasoning check for this test.AutomatedReasoningPolicyTestCase.BuilderguardContent(String guardContent)The output content to be validated by the policy, typically representing a foundation model response.AutomatedReasoningPolicyTestCase.BuilderqueryContent(String queryContent)The input query or prompt that generated the content.AutomatedReasoningPolicyTestCase.BuildertestCaseId(String testCaseId)The unique identifier of the test.AutomatedReasoningPolicyTestCase.BuilderupdatedAt(Instant updatedAt)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 Detail
-
testCaseId
AutomatedReasoningPolicyTestCase.Builder testCaseId(String 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
AutomatedReasoningPolicyTestCase.Builder guardContent(String 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
AutomatedReasoningPolicyTestCase.Builder queryContent(String 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:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
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:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
createdAt
AutomatedReasoningPolicyTestCase.Builder createdAt(Instant 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
AutomatedReasoningPolicyTestCase.Builder updatedAt(Instant 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
AutomatedReasoningPolicyTestCase.Builder confidenceThreshold(Double 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.
-
-