Interface UpdateAutomatedReasoningPolicyTestCaseRequest.Builder

  • 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. Use DISCARD to remove the key.
      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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.