Interface GuardrailStreamConfiguration.Builder

  • Method Details

    • guardrailIdentifier

      GuardrailStreamConfiguration.Builder guardrailIdentifier(String guardrailIdentifier)

      The identifier for the guardrail.

      Parameters:
      guardrailIdentifier - The identifier for the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guardrailVersion

      GuardrailStreamConfiguration.Builder guardrailVersion(String guardrailVersion)

      The version of the guardrail.

      Parameters:
      guardrailVersion - The version of the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trace

      The trace behavior for the guardrail.

      Parameters:
      trace - The trace behavior for the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trace

      The trace behavior for the guardrail.

      Parameters:
      trace - The trace behavior for the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • streamProcessingMode

      GuardrailStreamConfiguration.Builder streamProcessingMode(String streamProcessingMode)

      The processing mode.

      The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.

      Parameters:
      streamProcessingMode - The processing mode.

      The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • streamProcessingMode

      GuardrailStreamConfiguration.Builder streamProcessingMode(GuardrailStreamProcessingMode streamProcessingMode)

      The processing mode.

      The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.

      Parameters:
      streamProcessingMode - The processing mode.

      The processing mode. For more information, see Configure streaming response behavior in the Amazon Bedrock User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: