Class EqlGetResponse.Builder<TEvent>
java.lang.Object
co.elastic.clients.elasticsearch.eql.EqlSearchResponseBase.AbstractBuilder<TEvent,EqlGetResponse.Builder<TEvent>>
co.elastic.clients.elasticsearch.eql.EqlGetResponse.Builder<TEvent>
- All Implemented Interfaces:
ObjectBuilder<EqlGetResponse<TEvent>>
- Enclosing class:
- EqlGetResponse<TEvent>
public static class EqlGetResponse.Builder<TEvent> extends EqlSearchResponseBase.AbstractBuilder<TEvent,EqlGetResponse.Builder<TEvent>> implements ObjectBuilder<EqlGetResponse<TEvent>>
Builder for
EqlGetResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description EqlGetResponse<TEvent>
build()
Builds aEqlGetResponse
.protected EqlGetResponse.Builder<TEvent>
self()
EqlGetResponse.Builder<TEvent>
tEventSerializer(JsonpSerializer<TEvent> value)
Serializer for TEvent.Methods inherited from class co.elastic.clients.elasticsearch.eql.EqlSearchResponseBase.AbstractBuilder
hits, hits, id, isPartial, isRunning, timedOut, took
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tEventSerializer
Serializer for TEvent. If not set, an attempt will be made to find a serializer from the JSON context.- Overrides:
tEventSerializer
in classEqlSearchResponseBase.AbstractBuilder<TEvent,EqlGetResponse.Builder<TEvent>>
-
self
- Specified by:
self
in classEqlSearchResponseBase.AbstractBuilder<TEvent,EqlGetResponse.Builder<TEvent>>
-
build
Builds aEqlGetResponse
.- Specified by:
build
in interfaceObjectBuilder<TEvent>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-