Class NodesReloadSecureSettingsRequest
java.lang.Object
org.opensearch.core.transport.TransportMessage
org.opensearch.transport.TransportRequest
org.opensearch.action.ActionRequest
org.opensearch.action.support.nodes.BaseNodesRequest<NodesReloadSecureSettingsRequest>
org.opensearch.action.admin.cluster.node.reload.NodesReloadSecureSettingsRequest
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
,TaskAwareRequest
public class NodesReloadSecureSettingsRequest
extends BaseNodesRequest<NodesReloadSecureSettingsRequest>
Request for a reload secure settings action
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.transport.TransportRequest
TransportRequest.Empty
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionNodesReloadSecureSettingsRequest
(String... nodesIds) Reload secure settings only on certain nodes, based on the nodes ids specified.NodesReloadSecureSettingsRequest
(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionvoid
org.opensearch.core.common.settings.SecureString
void
setSecureStorePassword
(org.opensearch.core.common.settings.SecureString secureStorePassword) void
writeTo
(org.opensearch.core.common.io.stream.StreamOutput out) Methods inherited from class org.opensearch.action.support.nodes.BaseNodesRequest
concreteNodes, getIncludeDiscoveryNodes, nodesIds, nodesIds, setConcreteNodes, timeout, timeout, timeout, validate
Methods inherited from class org.opensearch.action.ActionRequest
getShouldStoreResult
Methods inherited from class org.opensearch.transport.TransportRequest
getParentTask, setParentTask
Methods inherited from class org.opensearch.core.transport.TransportMessage
remoteAddress, remoteAddress
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensearch.tasks.TaskAwareRequest
createTask, getDescription, setParentTask
-
Constructor Details
-
NodesReloadSecureSettingsRequest
public NodesReloadSecureSettingsRequest() -
NodesReloadSecureSettingsRequest
public NodesReloadSecureSettingsRequest(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
NodesReloadSecureSettingsRequest
Reload secure settings only on certain nodes, based on the nodes ids specified. If none are passed, secure settings will be reloaded on all the nodes.
-
-
Method Details
-
getSecureSettingsPassword
@Nullable public org.opensearch.core.common.settings.SecureString getSecureSettingsPassword() -
setSecureStorePassword
public void setSecureStorePassword(org.opensearch.core.common.settings.SecureString secureStorePassword) -
closePassword
public void closePassword() -
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Overrides:
writeTo
in classBaseNodesRequest<NodesReloadSecureSettingsRequest>
- Throws:
IOException
-