Calling setMaxRetries on BaseCollectionRequest sets maxRedirects on baseRequest
### Expected behavior

maxRetries is set correctly


### Actual behavior

maxRedirects is set when calling setMaxRetries on BaseCollectionRequest


There seems to be a typo at https://github.com/microsoftgraph/msgraph-sdk-java/blob/ee1678b0dd2a96ade4844833626f51edaa8af992/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java#L274



 
[AB#8085](https://microsoftgraph.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_workitems/edit/8085)
diff --git a/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java b/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java
index 9e648e6019..916241200e 100644
--- a/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java
+++ b/src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java
@@ -271,7 +271,7 @@ public abstract class BaseCollectionRequest<T1, T2> implements IHttpRequest {
      * @param maxRetries Max retries for a request
      */
     public void setMaxRetries(int maxRetries) {
-    	baseRequest.setMaxRedirects(maxRetries);
+    	baseRequest.setMaxRetries(maxRetries);
     }
     
     /**
['src/main/java/com/microsoft/graph/http/BaseCollectionRequest.java']