Class ClusterUpdateSettingsRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.AcknowledgedRequestBuilder<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse,ClusterUpdateSettingsRequestBuilder>
org.elasticsearch.action.admin.cluster.settings.ClusterUpdateSettingsRequestBuilder
public class ClusterUpdateSettingsRequestBuilder
extends AcknowledgedRequestBuilder<ClusterUpdateSettingsRequest,ClusterUpdateSettingsResponse,ClusterUpdateSettingsRequestBuilder>
Builder for a cluster update settings request
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionsetPersistentSettings(String settings, org.elasticsearch.common.xcontent.XContentType xContentType)
Sets the source containing the persistent settings to be updated.setPersistentSettings(Map<String,?> settings)
Sets the persistent settings to be updated.setPersistentSettings(Settings settings)
Sets the persistent settings to be updated.setPersistentSettings(Settings.Builder settings)
Sets the persistent settings to be updated.setTransientSettings(String settings, org.elasticsearch.common.xcontent.XContentType xContentType)
Sets the source containing the transient settings to be updated.setTransientSettings(Map<String,?> settings)
Sets the transient settings to be updated.setTransientSettings(Settings settings)
Sets the transient settings to be updated.setTransientSettings(Settings.Builder settings)
Sets the transient settings to be updated.Methods inherited from class org.elasticsearch.action.support.master.AcknowledgedRequestBuilder
setTimeout, setTimeout
Methods inherited from class org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder
setMasterNodeTimeout, setMasterNodeTimeout
-
Constructor Details
-
ClusterUpdateSettingsRequestBuilder
public ClusterUpdateSettingsRequestBuilder(ElasticsearchClient client, ClusterUpdateSettingsAction action)
-
-
Method Details
-
setTransientSettings
Sets the transient settings to be updated. They will not survive a full cluster restart -
setTransientSettings
Sets the transient settings to be updated. They will not survive a full cluster restart -
setTransientSettings
public ClusterUpdateSettingsRequestBuilder setTransientSettings(String settings, org.elasticsearch.common.xcontent.XContentType xContentType)Sets the source containing the transient settings to be updated. They will not survive a full cluster restart -
setTransientSettings
Sets the transient settings to be updated. They will not survive a full cluster restart -
setPersistentSettings
Sets the persistent settings to be updated. They will get applied cross restarts -
setPersistentSettings
Sets the persistent settings to be updated. They will get applied cross restarts -
setPersistentSettings
public ClusterUpdateSettingsRequestBuilder setPersistentSettings(String settings, org.elasticsearch.common.xcontent.XContentType xContentType)Sets the source containing the persistent settings to be updated. They will get applied cross restarts -
setPersistentSettings
Sets the persistent settings to be updated. They will get applied cross restarts
-