Interface GuardrailTextBlock.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GuardrailTextBlock.Builder,GuardrailTextBlock>, SdkBuilder<GuardrailTextBlock.Builder,GuardrailTextBlock>, SdkPojo
Enclosing class:
GuardrailTextBlock

public static interface GuardrailTextBlock.Builder extends SdkPojo, CopyableBuilder<GuardrailTextBlock.Builder,GuardrailTextBlock>
  • Method Details

    • text

      The input text details to be evaluated by the guardrail.

      Parameters:
      text - The input text details to be evaluated by the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qualifiersWithStrings

      GuardrailTextBlock.Builder qualifiersWithStrings(Collection<String> qualifiers)

      The qualifiers describing the text block.

      Parameters:
      qualifiers - The qualifiers describing the text block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qualifiersWithStrings

      GuardrailTextBlock.Builder qualifiersWithStrings(String... qualifiers)

      The qualifiers describing the text block.

      Parameters:
      qualifiers - The qualifiers describing the text block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qualifiers

      The qualifiers describing the text block.

      Parameters:
      qualifiers - The qualifiers describing the text block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • qualifiers

      The qualifiers describing the text block.

      Parameters:
      qualifiers - The qualifiers describing the text block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.