Interface GuardrailRegex.Builder

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

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

    • name

      The name of the regular expression for the guardrail.

      Parameters:
      name - The name of the regular expression for the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GuardrailRegex.Builder description(String description)

      The description of the regular expression for the guardrail.

      Parameters:
      description - The description of the regular expression for the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pattern

      GuardrailRegex.Builder pattern(String pattern)

      The pattern of the regular expression configured for the guardrail.

      Parameters:
      pattern - The pattern of the regular expression configured for the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The action taken when a match to the regular expression is detected.

      Parameters:
      action - The action taken when a match to the regular expression is detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action taken when a match to the regular expression is detected.

      Parameters:
      action - The action taken when a match to the regular expression is detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: