Class ReloadSearchAnalyzersRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ReloadSearchAnalyzersRequest.Builder>
co.elastic.clients.elasticsearch.indices.ReloadSearchAnalyzersRequest.Builder
- All Implemented Interfaces:
WithJson<ReloadSearchAnalyzersRequest.Builder>
,ObjectBuilder<ReloadSearchAnalyzersRequest>
- Enclosing class:
- ReloadSearchAnalyzersRequest
public static class ReloadSearchAnalyzersRequest.Builder
extends RequestBase.AbstractBuilder<ReloadSearchAnalyzersRequest.Builder>
implements ObjectBuilder<ReloadSearchAnalyzersRequest>
Builder for
ReloadSearchAnalyzersRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowNoIndices
(Boolean value) Whether to ignore if a wildcard indices expression resolves into no concrete indices.build()
Builds aReloadSearchAnalyzersRequest
.expandWildcards
(ExpandWildcard value, ExpandWildcard... values) Whether to expand wildcard expression to concrete indices that are open, closed or both.expandWildcards
(List<ExpandWildcard> list) Whether to expand wildcard expression to concrete indices that are open, closed or both.ignoreUnavailable
(Boolean value) Whether specified concrete indices should be ignored when unavailable (missing or closed)Required - A comma-separated list of index names to reload analyzers forRequired - A comma-separated list of index names to reload analyzers forprotected ReloadSearchAnalyzersRequest.Builder
self()
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
-
allowNoIndices
Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes_all
string or when no indices have been specified)API name:
allow_no_indices
-
expandWildcards
Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
Adds all elements of
list
toexpandWildcards
. -
expandWildcards
public final ReloadSearchAnalyzersRequest.Builder expandWildcards(ExpandWildcard value, ExpandWildcard... values) Whether to expand wildcard expression to concrete indices that are open, closed or both.API name:
expand_wildcards
Adds one or more values to
expandWildcards
. -
index
Required - A comma-separated list of index names to reload analyzers forAPI name:
index
Adds all elements of
list
toindex
. -
index
Required - A comma-separated list of index names to reload analyzers forAPI name:
index
Adds one or more values to
index
. -
self
- Specified by:
self
in classRequestBase.AbstractBuilder<ReloadSearchAnalyzersRequest.Builder>
-
build
Builds aReloadSearchAnalyzersRequest
.- Specified by:
build
in interfaceObjectBuilder<ReloadSearchAnalyzersRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-