code: protected static void applyBaseDefaultsInternal(final RequestOptions modifiedOptions) {
          Utility.assertNotNull("modifiedOptions", modifiedOptions);
          if (modifiedOptions.getRetryPolicyFactory() == null) {
              modifiedOptions.setRetryPolicyFactory(new RetryExponentialRetry());
          }
  
          if (modifiedOptions.getLocationMode() == null) {
              modifiedOptions.setLocationMode(LocationMode.PRIMARY_ONLY);
          }
      }
docs: Populates the default timeout, retry policy, and location mode from client if they are null.
  
  @param modifiedOptions
  The input options to copy from when applying defaults