io.searchbox.cluster.GetSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jest-common Show documentation
Show all versions of jest-common Show documentation
ElasticSearch Java REST client - shared library package
package io.searchbox.cluster;
import io.searchbox.action.AbstractAction;
import io.searchbox.action.GenericResultAbstractAction;
/**
* Retrieve cluster wide settings.
*
* @author cihat keser
*/
public class GetSettings extends GenericResultAbstractAction {
protected GetSettings(Builder builder) {
super(builder);
setURI(buildURI());
}
protected String buildURI() {
return super.buildURI() + "/_cluster/settings";
}
@Override
public String getRestMethodName() {
return "GET";
}
public static class Builder extends AbstractAction.Builder {
@Override
public GetSettings build() {
return new GetSettings(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy