Interface UpdateAutomatedReasoningPolicyTestCaseRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,UpdateAutomatedReasoningPolicyTestCaseRequest>,SdkBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,UpdateAutomatedReasoningPolicyTestCaseRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAutomatedReasoningPolicyTestCaseRequest
@Mutable @NotThreadSafe public static interface UpdateAutomatedReasoningPolicyTestCaseRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,UpdateAutomatedReasoningPolicyTestCaseRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
-
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
-
policyArn
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.
- Parameters:
policyArn- The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCaseId
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder testCaseId(String testCaseId)
The unique identifier of the test to update.
- Parameters:
testCaseId- The unique identifier of the test to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardContent
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder guardContent(String guardContent)
The updated content to be validated by the Automated Reasoning policy.
- Parameters:
guardContent- The updated content to be validated by the Automated Reasoning policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryContent
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder queryContent(String queryContent)
The updated input query or prompt that generated the content.
- Parameters:
queryContent- The updated input query or prompt that generated the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder lastUpdatedAt(Instant lastUpdatedAt)
The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.
- Parameters:
lastUpdatedAt- The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedAggregatedFindingsResult
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder expectedAggregatedFindingsResult(String expectedAggregatedFindingsResult)
The updated expected result of the Automated Reasoning check.
- Parameters:
expectedAggregatedFindingsResult- The updated expected result of the Automated Reasoning check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
expectedAggregatedFindingsResult
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder expectedAggregatedFindingsResult(AutomatedReasoningCheckResult expectedAggregatedFindingsResult)
The updated expected result of the Automated Reasoning check.
- Parameters:
expectedAggregatedFindingsResult- The updated expected result of the Automated Reasoning check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomatedReasoningCheckResult,AutomatedReasoningCheckResult
-
confidenceThreshold
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder confidenceThreshold(Double confidenceThreshold)
The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.
- Parameters:
confidenceThreshold- The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder clientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
- Parameters:
clientRequestToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-