Interface GuardrailStreamConfiguration.Builder

    • Method Detail

      • 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.
      • 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:
        GuardrailStreamProcessingMode, GuardrailStreamProcessingMode