Class NodesReloadSecureSettingsRequest

java.lang.Object
org.opensearch.core.transport.TransportMessage
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:
  • Constructor Details

    • NodesReloadSecureSettingsRequest

      public NodesReloadSecureSettingsRequest()
    • NodesReloadSecureSettingsRequest

      public NodesReloadSecureSettingsRequest(org.opensearch.core.common.io.stream.StreamInput in) throws IOException
      Throws:
      IOException
    • NodesReloadSecureSettingsRequest

      public NodesReloadSecureSettingsRequest(String... nodesIds)
      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

      public void writeTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException
      Specified by:
      writeTo in interface org.opensearch.core.common.io.stream.Writeable
      Overrides:
      writeTo in class BaseNodesRequest<NodesReloadSecureSettingsRequest>
      Throws:
      IOException