Class ReloadSecureSettingsRequest
- All Implemented Interfaces:
JsonpSerializable
Secure settings are stored in an on-disk keystore. Certain of these settings are reloadable. That is, you can change them on disk and reload them without restarting any nodes in the cluster. When you have updated reloadable secure settings in your keystore, you can use this API to reload those settings on each node.
When the Elasticsearch keystore is password protected and not simply obfuscated, you must provide the password for the keystore when you reload the secure settings. Reloading the settings for the whole cluster assumes that the keystores for all nodes are protected with the same password; this method is allowed only when inter-node communications are encrypted. Alternatively, you can reload the secure settings on each node by locally accessing the API and passing the node-specific Elasticsearch keystore password.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ReloadSecureSettingsRequest>
Json deserializer forReloadSecureSettingsRequest
Endpoint "nodes.reload_secure_settings
". -
Method Summary
Modifier and TypeMethodDescriptionnodeId()
The names of particular nodes in the cluster to target.static ReloadSecureSettingsRequest
final String
The password for the Elasticsearch keystore.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupReloadSecureSettingsRequestDeserializer
(ObjectDeserializer<ReloadSecureSettingsRequest.Builder> op) final Time
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forReloadSecureSettingsRequest
-
_ENDPOINT
public static final Endpoint<ReloadSecureSettingsRequest,ReloadSecureSettingsResponse, _ENDPOINTErrorResponse> Endpoint "nodes.reload_secure_settings
".
-
-
Method Details
-
of
-
nodeId
The names of particular nodes in the cluster to target.API name:
node_id
-
secureSettingsPassword
The password for the Elasticsearch keystore.API name:
secure_settings_password
-
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupReloadSecureSettingsRequestDeserializer
protected static void setupReloadSecureSettingsRequestDeserializer(ObjectDeserializer<ReloadSecureSettingsRequest.Builder> op)
-