Interface MatchModelEntry.Builder

  • Method Details

    • value

      The model ID or pattern to match. With the StringLike operator, you can use * and ? as wildcards, for example anthropic.claude-*.

      Parameters:
      value - The model ID or pattern to match. With the StringLike operator, you can use * and ? as wildcards, for example anthropic.claude-*.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operator

      MatchModelEntry.Builder operator(String operator)

      The operator to use when comparing the requested model to the value:

      • StringEquals – Requires an exact match.

      • StringLike – Supports wildcard patterns using * and ?. This is the default.

      Parameters:
      operator - The operator to use when comparing the requested model to the value:

      • StringEquals – Requires an exact match.

      • StringLike – Supports wildcard patterns using * and ?. This is the default.

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

      The operator to use when comparing the requested model to the value:

      • StringEquals – Requires an exact match.

      • StringLike – Supports wildcard patterns using * and ?. This is the default.

      Parameters:
      operator - The operator to use when comparing the requested model to the value:

      • StringEquals – Requires an exact match.

      • StringLike – Supports wildcard patterns using * and ?. This is the default.

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