Module org.elasticsearch.server
Class UpdateSettingsRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,Response>
org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder<Request,Response,RequestBuilder>
org.elasticsearch.action.support.master.AcknowledgedRequestBuilder<UpdateSettingsRequest,AcknowledgedResponse,UpdateSettingsRequestBuilder>
org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequestBuilder
- All Implemented Interfaces:
RequestBuilder<UpdateSettingsRequest,
AcknowledgedResponse>
public class UpdateSettingsRequestBuilder
extends AcknowledgedRequestBuilder<UpdateSettingsRequest,AcknowledgedResponse,UpdateSettingsRequestBuilder>
Builder for an update index settings request
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the origin to use, only set this when the settings update is requested by ES internal processes.setIndices
(String... indices) Sets the indices the update settings will execute onsetIndicesOptions
(IndicesOptions options) Specifies what type of requested indices to ignore and wildcard indices expressions.setPreserveExisting
(boolean preserveExisting) setSettings
(String source, XContentType xContentType) Sets the settings to be updated (either json or yaml format)setSettings
(Map<String, Object> source) Sets the settings to be updatedsetSettings
(Settings settings) Sets the settings to be updatedsetSettings
(Settings.Builder settings) Sets the settings to be updatedMethods 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
-
UpdateSettingsRequestBuilder
-
-
Method Details
-
setIndices
Sets the indices the update settings will execute on -
setIndicesOptions
Specifies what type of requested indices to ignore and wildcard indices expressions.For example indices that don't exist.
-
setSettings
Sets the settings to be updated -
setSettings
Sets the settings to be updated -
setSettings
Sets the settings to be updated (either json or yaml format) -
setSettings
Sets the settings to be updated -
setPreserveExisting
-
origin
Sets the origin to use, only set this when the settings update is requested by ES internal processes.
-