Interface GuardrailAutomatedReasoningPolicyConfig.Builder

    • Method Detail

      • policies

        GuardrailAutomatedReasoningPolicyConfig.Builder policies​(Collection<String> policies)

        The list of Automated Reasoning policy ARNs to include in the guardrail configuration.

        Parameters:
        policies - The list of Automated Reasoning policy ARNs to include in the guardrail configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policies

        GuardrailAutomatedReasoningPolicyConfig.Builder policies​(String... policies)

        The list of Automated Reasoning policy ARNs to include in the guardrail configuration.

        Parameters:
        policies - The list of Automated Reasoning policy ARNs to include in the guardrail configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidenceThreshold

        GuardrailAutomatedReasoningPolicyConfig.Builder confidenceThreshold​(Double confidenceThreshold)

        The confidence threshold for triggering guardrail actions based on Automated Reasoning policy violations.

        Parameters:
        confidenceThreshold - The confidence threshold for triggering guardrail actions based on Automated Reasoning policy violations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.