Class ClearScrollRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ClearScrollRequest.Builder>
co.elastic.clients.elasticsearch.core.ClearScrollRequest.Builder
- All Implemented Interfaces:
WithJson<ClearScrollRequest.Builder>
,ObjectBuilder<ClearScrollRequest>
- Enclosing class:
- ClearScrollRequest
public static class ClearScrollRequest.Builder
extends RequestBase.AbstractBuilder<ClearScrollRequest.Builder>
implements ObjectBuilder<ClearScrollRequest>
Builder for
ClearScrollRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aClearScrollRequest
.Scroll IDs to clear.Scroll IDs to clear.protected ClearScrollRequest.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
-
scrollId
Scroll IDs to clear. To clear all scroll IDs, use_all
.API name:
scroll_id
Adds all elements of
list
toscrollId
. -
scrollId
Scroll IDs to clear. To clear all scroll IDs, use_all
.API name:
scroll_id
Adds one or more values to
scrollId
. -
self
- Specified by:
self
in classRequestBase.AbstractBuilder<ClearScrollRequest.Builder>
-
build
Builds aClearScrollRequest
.- Specified by:
build
in interfaceObjectBuilder<ClearScrollRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-