algoliasearch/src/main/java/com/algolia/search/saas/Index.java
public JSONObject getSettings(@Nullable RequestOptions requestOptions) throws AlgoliaException {
        Map<String, String> urlParameters = new HashMap<>();
        urlParameters.put("getVersion", Integer.toString(DEFAULT_SETTINGS_VERSION));
        return client.getRequest("/1/indexes/" + encodedIndexName + "/settings", urlParameters, false, requestOptions);
    }
public JSONObject getSettings(@Nullable RequestOptions requestOptions) throws AlgoliaException {
        Map<String, String> urlParameters = new HashMap<>();
        urlParameters.put("getVersion", Integer.toString(DEFAULT_SETTINGS_VERSION));
        return client.getRequest("/1/indexes/" + encodedIndexName + "/settings", urlParameters, false, requestOptions);
    }
Gets the settings of this index.

@param requestOptions Request-specific options.