Interface UpdateAutomatedReasoningPolicyTestCaseRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,
,UpdateAutomatedReasoningPolicyTestCaseRequest> SdkBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,
,UpdateAutomatedReasoningPolicyTestCaseRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAutomatedReasoningPolicyTestCaseRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.confidenceThreshold
(Double confidenceThreshold) The updated minimum confidence level for logic validation.expectedAggregatedFindingsResult
(String expectedAggregatedFindingsResult) The updated expected result of the Automated Reasoning check.expectedAggregatedFindingsResult
(AutomatedReasoningCheckResult expectedAggregatedFindingsResult) The updated expected result of the Automated Reasoning check.guardContent
(String guardContent) The updated content to be validated by the Automated Reasoning policy.The KMS key ARN for encrypting the test at rest.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp when the test was last updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.queryContent
(String queryContent) The updated input query or prompt that generated the content.testCaseId
(String testCaseId) The unique identifier of the test to update.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 Details
-
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
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
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
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
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:
-
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:
-
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.
-
kmsKeyArn
The KMS key ARN for encrypting the test at rest. If not provided, the key will not be updated. Use
DISCARD
to remove the key.- Parameters:
kmsKeyArn
- The KMS key ARN for encrypting the test at rest. If not provided, the key will not be updated. UseDISCARD
to remove the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAutomatedReasoningPolicyTestCaseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-