Interface GuardrailAutomatedReasoningPolicy.Builder

    • Method Detail

      • policies

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

        The list of Automated Reasoning policy ARNs that should be applied as part of this guardrail configuration.

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

        GuardrailAutomatedReasoningPolicy.Builder policies​(String... policies)

        The list of Automated Reasoning policy ARNs that should be applied as part of this guardrail configuration.

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

        GuardrailAutomatedReasoningPolicy.Builder confidenceThreshold​(Double confidenceThreshold)

        The minimum confidence level required for Automated Reasoning policy violations to trigger guardrail actions. Values range from 0.0 to 1.0.

        Parameters:
        confidenceThreshold - The minimum confidence level required for Automated Reasoning policy violations to trigger guardrail actions. Values range from 0.0 to 1.0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.