Class EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.eql.EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
EqlGetResponse.Builder
,EqlSearchResponse.Builder
- Enclosing class:
- EqlSearchResponseBase<TEvent>
public abstract static class EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
Required - Contains matching events and sequences.final BuilderT
Required - Contains matching events and sequences.final BuilderT
Identifier for the search.final BuilderT
If true, the response does not contain complete search results.final BuilderT
If true, the search request is still executing.protected abstract BuilderT
self()
final BuilderT
shardFailures
(ShardFailure value, ShardFailure... values) Contains information about shard failures (if any), in case allow_partial_search_results=truefinal BuilderT
Contains information about shard failures (if any), in case allow_partial_search_results=truefinal BuilderT
shardFailures
(List<ShardFailure> list) Contains information about shard failures (if any), in case allow_partial_search_results=truefinal BuilderT
tEventSerializer
(JsonpSerializer<TEvent> value) Serializer for TEvent.final BuilderT
If true, the request timed out before completion.final BuilderT
Milliseconds it took Elasticsearch to execute the request.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
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
id
Identifier for the search.API name:
id
-
isPartial
If true, the response does not contain complete search results.API name:
is_partial
-
isRunning
If true, the search request is still executing.API name:
is_running
-
took
Milliseconds it took Elasticsearch to execute the request.API name:
took
-
timedOut
If true, the request timed out before completion.API name:
timed_out
-
hits
Required - Contains matching events and sequences. Also contains related metadata.API name:
hits
-
hits
Required - Contains matching events and sequences. Also contains related metadata.API name:
hits
-
shardFailures
Contains information about shard failures (if any), in case allow_partial_search_results=trueAPI name:
shard_failures
Adds all elements of
list
toshardFailures
. -
shardFailures
Contains information about shard failures (if any), in case allow_partial_search_results=trueAPI name:
shard_failures
Adds one or more values to
shardFailures
. -
shardFailures
Contains information about shard failures (if any), in case allow_partial_search_results=trueAPI name:
shard_failures
Adds a value to
shardFailures
using a builder lambda. -
tEventSerializer
Serializer for TEvent. If not set, an attempt will be made to find a serializer from the JSON context. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent,
BuilderT>>
-