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>
protected abstract static class EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderThits(EqlHits<TEvent> value)Required - Contains matching events and sequences.BuilderThits(java.util.function.Function<EqlHits.Builder<TEvent>,ObjectBuilder<EqlHits<TEvent>>> fn)Required - Contains matching events and sequences.BuilderTid(java.lang.String value)Identifier for the search.BuilderTisPartial(java.lang.Boolean value)If true, the response does not contain complete search results.BuilderTisRunning(java.lang.Boolean value)If true, the search request is still executing.protected abstract BuilderTself()BuilderTtEventSerializer(JsonpSerializer<TEvent> value)Serializer for TEvent.BuilderTtimedOut(java.lang.Boolean value)If true, the request timed out before completion.BuilderTtook(java.lang.Integer value)Milliseconds it took Elasticsearch to execute the request.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBuilder
protected 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
public final BuilderT hits(java.util.function.Function<EqlHits.Builder<TEvent>,ObjectBuilder<EqlHits<TEvent>>> fn)Required - Contains matching events and sequences. Also contains related metadata.API name:
hits -
tEventSerializer
Serializer for TEvent. If not set, an attempt will be made to find a serializer from the JSON context. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT>>
-