Class ReloadSecureSettingsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ReloadSecureSettingsRequest.Builder>
co.elastic.clients.elasticsearch.nodes.ReloadSecureSettingsRequest.Builder
- All Implemented Interfaces:
WithJson<ReloadSecureSettingsRequest.Builder>
,ObjectBuilder<ReloadSecureSettingsRequest>
- Enclosing class:
- ReloadSecureSettingsRequest
public static class ReloadSecureSettingsRequest.Builder
extends RequestBase.AbstractBuilder<ReloadSecureSettingsRequest.Builder>
implements ObjectBuilder<ReloadSecureSettingsRequest>
Builder for
ReloadSecureSettingsRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aReloadSecureSettingsRequest
.The names of particular nodes in the cluster to target.The names of particular nodes in the cluster to target.secureSettingsPassword
(String value) The password for the Elasticsearch keystore.protected ReloadSecureSettingsRequest.Builder
self()
Period to wait for a response.Period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nodeId
The names of particular nodes in the cluster to target.API name:
node_id
Adds all elements of
list
tonodeId
. -
nodeId
The names of particular nodes in the cluster to target.API name:
node_id
Adds one or more values to
nodeId
. -
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
-
timeout
public final ReloadSecureSettingsRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<ReloadSecureSettingsRequest.Builder>
-
build
Builds aReloadSecureSettingsRequest
.- Specified by:
build
in interfaceObjectBuilder<ReloadSecureSettingsRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-