Class DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT extends DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.transport.endpoints.DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>
- Enclosing class:
- DictionaryResponse<TKey,
TValue>
protected abstract static class DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT extends DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>>
extends ObjectBuilderBase
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd a key/value toresult(Map)
, creating the map if needed.Response result.protected abstract BuilderT
self()
tKeySerializer
(JsonpSerializer<TKey> value) Serializer for TKey.tValueSerializer
(JsonpSerializer<TValue> value) Serializer for TValue.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
result
Response result. -
putResult
Add a key/value toresult(Map)
, creating the map if needed. -
tKeySerializer
Serializer for TKey. If not set, an attempt will be made to find a serializer from the JSON context. -
tValueSerializer
Serializer for TValue. If not set, an attempt will be made to find a serializer from the JSON context. -
self
-