Interface MCPServerAPIKeyConfig.Builder

  • Method Details

    • apiKeyName

      MCPServerAPIKeyConfig.Builder apiKeyName(String apiKeyName)

      User friendly API key name specified by end user.

      Parameters:
      apiKeyName - User friendly API key name specified by end user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeyValue

      MCPServerAPIKeyConfig.Builder apiKeyValue(String apiKeyValue)

      API key value for authenticating with the service.

      Parameters:
      apiKeyValue - API key value for authenticating with the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeyHeader

      MCPServerAPIKeyConfig.Builder apiKeyHeader(String apiKeyHeader)

      HTTP header name to send the API key in requests to the service.

      Parameters:
      apiKeyHeader - HTTP header name to send the API key in requests to the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.