Class ClusterUpdateSettingsRequestBuilder
- java.lang.Object
-
- org.elasticsearch.action.ActionRequestBuilder<Request,Response,RequestBuilder>
-
- 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
Constructors Constructor Description ClusterUpdateSettingsRequestBuilder(ElasticsearchClient client, ClusterUpdateSettingsAction action)
-
Method Summary
Modifier and Type Method Description ClusterUpdateSettingsRequestBuilder
setPersistentSettings(java.lang.String settings, XContentType xContentType)
Sets the source containing the persistent settings to be updated.ClusterUpdateSettingsRequestBuilder
setPersistentSettings(java.util.Map settings)
Sets the persistent settings to be updated.ClusterUpdateSettingsRequestBuilder
setPersistentSettings(Settings settings)
Sets the persistent settings to be updated.ClusterUpdateSettingsRequestBuilder
setPersistentSettings(Settings.Builder settings)
Sets the persistent settings to be updated.ClusterUpdateSettingsRequestBuilder
setTransientSettings(java.lang.String settings, XContentType xContentType)
Sets the source containing the transient settings to be updated.ClusterUpdateSettingsRequestBuilder
setTransientSettings(java.util.Map settings)
Sets the transient settings to be updated.ClusterUpdateSettingsRequestBuilder
setTransientSettings(Settings settings)
Sets the transient settings to be updated.ClusterUpdateSettingsRequestBuilder
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 Detail
-
ClusterUpdateSettingsRequestBuilder
public ClusterUpdateSettingsRequestBuilder(ElasticsearchClient client, ClusterUpdateSettingsAction action)
-
-
Method Detail
-
setTransientSettings
public ClusterUpdateSettingsRequestBuilder setTransientSettings(Settings settings)
Sets the transient settings to be updated. They will not survive a full cluster restart
-
setTransientSettings
public ClusterUpdateSettingsRequestBuilder setTransientSettings(Settings.Builder settings)
Sets the transient settings to be updated. They will not survive a full cluster restart
-
setTransientSettings
public ClusterUpdateSettingsRequestBuilder setTransientSettings(java.lang.String settings, XContentType xContentType)
Sets the source containing the transient settings to be updated. They will not survive a full cluster restart
-
setTransientSettings
public ClusterUpdateSettingsRequestBuilder setTransientSettings(java.util.Map settings)
Sets the transient settings to be updated. They will not survive a full cluster restart
-
setPersistentSettings
public ClusterUpdateSettingsRequestBuilder setPersistentSettings(Settings settings)
Sets the persistent settings to be updated. They will get applied cross restarts
-
setPersistentSettings
public ClusterUpdateSettingsRequestBuilder setPersistentSettings(Settings.Builder settings)
Sets the persistent settings to be updated. They will get applied cross restarts
-
setPersistentSettings
public ClusterUpdateSettingsRequestBuilder setPersistentSettings(java.lang.String settings, XContentType xContentType)
Sets the source containing the persistent settings to be updated. They will get applied cross restarts
-
setPersistentSettings
public ClusterUpdateSettingsRequestBuilder setPersistentSettings(java.util.Map settings)
Sets the persistent settings to be updated. They will get applied cross restarts
-
-